Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 116.4 kB / 17.09 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 197.5 kB / 18.03 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6592/0.6592, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 76.53 kB / 0.5584 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1122, allocations: 76.19 MB / 0.6328 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001444/0.1137, allocations: 0.5688 MB / 0.6334 GB, free: 3.785 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1148, allocations: 1.112 MB / 0.6344 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.1148, allocations: 0 / 0.6344 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.003e-05/0.1149, allocations: 0 / 0.6344 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.1151, allocations: 15.94 kB / 0.6345 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.346e-06/0.1151, allocations: 0 / 0.6345 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.564e-05/0.1151, allocations: 7.984 kB / 0.6345 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.1152, allocations: 0 / 0.6345 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.261e-05/0.1152, allocations: 3.938 kB / 0.6345 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.968e-05/0.1152, allocations: 7.922 kB / 0.6345 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-06/0.1152, allocations: 4 kB / 0.6345 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.282e-05/0.1153, allocations: 19.98 kB / 0.6345 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.539e-06/0.1153, allocations: 0 / 0.6345 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.252e-05/0.1153, allocations: 0 / 0.6345 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 6.84e-05/0.1154, allocations: 23.91 kB / 0.6345 GB, free: 2.574 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1154, allocations: 3.938 kB / 0.6345 GB, free: 2.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1154, allocations: 0 / 0.6345 GB, free: 2.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1154, allocations: 0 / 0.6345 GB, free: 2.57 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002376/0.1157, allocations: 319.6 kB / 0.6348 GB, free: 2.211 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.1157, allocations: 8.031 kB / 0.6348 GB, free: 2.203 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.1157, allocations: 8.938 kB / 0.6348 GB, free: 2.195 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.918e-05/0.1158, allocations: 160.4 kB / 0.635 GB, free: 2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.1158, allocations: 384 / 0.635 GB, free: 2 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1159, allocations: 8.312 kB / 0.635 GB, free: 1.992 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.617e-05/0.116, allocations: 38 kB / 0.635 GB, free: 1.949 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.116, allocations: 0 / 0.635 GB, free: 1.949 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.116, allocations: 4 kB / 0.635 GB, free: 1.945 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.116, allocations: 0 / 0.635 GB, free: 1.945 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.116, allocations: 7.984 kB / 0.6351 GB, free: 1.938 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.1162, allocations: 153.6 kB / 0.6352 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.1163, allocations: 34.61 kB / 0.6352 GB, free: 1.695 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.846e-05/0.1163, allocations: 12.86 kB / 0.6352 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.1165, allocations: 81.19 kB / 0.6353 GB, free: 1.582 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1165, allocations: 38.5 kB / 0.6354 GB, free: 1.535 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1165, allocations: 0 / 0.6354 GB, free: 1.535 MB / 478.1 MB Notification: Performance of matching and sorting (n=5): time 0.004241/0.1208, allocations: 0.5792 MB / 0.6359 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.1208, allocations: 51.41 kB / 0.636 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.892e-05/0.1208, allocations: 89.86 kB / 0.6361 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1209, allocations: 25.7 kB / 0.6361 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.085e-05/0.1209, allocations: 84.08 kB / 0.6362 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.1209, allocations: 15.81 kB / 0.6362 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.121, allocations: 21.7 kB / 0.6362 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.1211, allocations: 314.8 kB / 0.6365 GB, free: 320 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005952/0.1217, allocations: 83.89 kB / 0.6366 GB, free: 236 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/0.1223, allocations: 110.6 kB / 0.6367 GB, free: 116 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.1235, allocations: 190.5 kB / 0.6369 GB, free: 15.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1235, allocations: 0 / 0.6369 GB, free: 15.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00125/0.1248, allocations: 213.5 kB / 0.6371 GB, free: 15.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1248, allocations: 7.938 kB / 0.6371 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1248, allocations: 0 / 0.6371 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.1248, allocations: 7.938 kB / 0.6371 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.1252, allocations: 48 kB / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1252, allocations: 4 kB / 0.6371 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/0.1256, allocations: 39.97 kB / 0.6372 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.1256, allocations: 4 kB / 0.6372 GB, free: 15.59 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.772e-05/0.1257, allocations: 113.8 kB / 0.6373 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.1257, allocations: 11.84 kB / 0.6373 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.1271, allocations: 233 kB / 0.6375 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1271, allocations: 0 / 0.6375 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1271, allocations: 0 / 0.6375 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.683e-05/0.1271, allocations: 85.09 kB / 0.6376 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1271, allocations: 4 kB / 0.6376 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.1275, allocations: 39.98 kB / 0.6376 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.1275, allocations: 4 kB / 0.6376 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001582/0.1291, allocations: 324.8 kB / 0.638 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001283/0.1304, allocations: 382.5 kB / 0.6383 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000607/0.131, allocations: 92.27 kB / 0.6384 GB, free: 14.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.224e-05/0.131, allocations: 75.28 kB / 0.6385 GB, free: 14.2 MB / 494.1 MB Notification: Performance of Backend: time 2.11e-07/0.1311, allocations: 0 / 0.6385 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009555/0.132, allocations: 182.3 kB / 0.6387 GB, free: 14.01 MB / 494.1 MB Notification: Performance of SimCode: time 0.0003019/0.1323, allocations: 0.5371 MB / 0.6392 GB, free: 13.43 MB / 494.1 MB Notification: Performance of Templates: time 0.003025/0.1354, allocations: 1.365 MB / 0.6405 GB, free: 12.06 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)