Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 168.2 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.201/1.201, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.579e-06/4.579e-06, allocations: 4 kB / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.808e-05, allocations: 7.078 kB / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002684/0.002722, allocations: 1.443 MB / 0.62 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008826/0.003605, allocations: 485.3 kB / 0.6205 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.003644, allocations: 0 / 0.6205 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.003669, allocations: 0 / 0.6205 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.19e-05/0.003741, allocations: 12.42 kB / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.00396, allocations: 24.69 kB / 0.6205 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.752e-05/0.004037, allocations: 19.92 kB / 0.6205 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.84e-05/0.004136, allocations: 13 kB / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.924e-05/0.004215, allocations: 15.92 kB / 0.6205 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.486e-05/0.00426, allocations: 11.94 kB / 0.6206 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.004278, allocations: 4 kB / 0.6206 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.253e-05/0.004351, allocations: 19.97 kB / 0.6206 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.004364, allocations: 0 / 0.6206 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.004392, allocations: 8 kB / 0.6206 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.004517, allocations: 39.81 kB / 0.6206 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004519, allocations: 3.938 kB / 0.6206 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.31e-07/0.00452, allocations: 0 / 0.6206 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.004523, allocations: 0 / 0.6206 GB, free: 2.469 MB / 0.5294 GB 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.000464/0.004987, allocations: 270.3 kB / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.005026, allocations: 16.03 kB / 0.6209 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.005066, allocations: 8.875 kB / 0.6209 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.00519, allocations: 109.8 kB / 0.621 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.005205, allocations: 384 / 0.621 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.005218, allocations: 4.375 kB / 0.621 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.005406, allocations: 50.19 kB / 0.6211 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.005417, allocations: 192 / 0.6211 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.005431, allocations: 4.359 kB / 0.6211 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.005439, allocations: 3.938 kB / 0.6211 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.005616, allocations: 35.97 kB / 0.6211 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.005929, allocations: 192.6 kB / 0.6213 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.006065, allocations: 34.56 kB / 0.6213 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.767e-05/0.006163, allocations: 24.84 kB / 0.6214 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.006272, allocations: 7.984 kB / 0.6214 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.006306, allocations: 34.5 kB / 0.6214 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.006307, allocations: 0 / 0.6214 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000378/0.006685, allocations: 89.59 kB / 0.6215 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.006728, allocations: 51.41 kB / 0.6215 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.993e-05/0.006818, allocations: 101.9 kB / 0.6216 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.006836, allocations: 25.7 kB / 0.6216 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.006887, allocations: 92.06 kB / 0.6217 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.006909, allocations: 11.89 kB / 0.6217 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.006945, allocations: 9.719 kB / 0.6218 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.007085, allocations: 318.8 kB / 0.6221 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.261e-05/0.007177, allocations: 24.03 kB / 0.6221 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.007254, allocations: 15.98 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.007417, allocations: 36.83 kB / 0.6221 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.007418, allocations: 0 / 0.6221 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002109/0.007629, allocations: 69.72 kB / 0.6222 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.007645, allocations: 7.938 kB / 0.6222 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.007649, allocations: 0 / 0.6222 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.007662, allocations: 4 kB / 0.6222 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.007749, allocations: 8.234 kB / 0.6222 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.007753, allocations: 0 / 0.6222 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.007802, allocations: 8 kB / 0.6222 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.007807, allocations: 0 / 0.6222 GB, free: 0.6602 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 8.661e-05/0.007894, allocations: 123.6 kB / 0.6223 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.00792, allocations: 3.938 kB / 0.6223 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.008171, allocations: 84.89 kB / 0.6224 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.008172, allocations: 0 / 0.6224 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.008176, allocations: 0 / 0.6224 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.008179, allocations: 0 / 0.6224 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.008313, allocations: 101.3 kB / 0.6225 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008314, allocations: 4 kB / 0.6225 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.008375, allocations: 7.984 kB / 0.6225 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.008376, allocations: 0 / 0.6225 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.008386, allocations: 7.969 kB / 0.6225 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008387, allocations: 0 / 0.6225 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.008388, allocations: 4 kB / 0.6225 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.008647, allocations: 163.5 kB / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.008653, allocations: 0 / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.008667, allocations: 3.938 kB / 0.6227 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.799e-05/0.008755, allocations: 7.984 kB / 0.6227 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.008789, allocations: 4 kB / 0.6227 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.008792, allocations: 4.031 kB / 0.6227 GB, free: 92 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.4e-05/0.008836, allocations: 83.28 kB / 0.6228 GB, free: 8 kB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.008836, allocations: 3.938 kB / 0.6228 GB, free: 4 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002296/0.009066, allocations: 4 kB / 0.6228 GB, free: 0 / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001797/0.009245, allocations: 107.2 kB / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.009483, allocations: 35.97 kB / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.009487, allocations: 7.938 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.151e-05/0.009578, allocations: 24.03 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.00987, allocations: 2.188 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.01018, allocations: 112.7 kB / 0.6231 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.062e-05/0.01024, allocations: 63.34 kB / 0.6231 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.01026, allocations: 0 / 0.6231 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.01029, allocations: 8.5 kB / 0.6232 GB, free: 15.59 MB / 0.545 GB Notification: Performance of SimCode: time 4.2e-07/0.01029, allocations: 4 kB / 0.6232 GB, free: 15.59 MB / 0.545 GB Notification: Performance of Templates: time 0.003202/0.01349, allocations: 0.6077 MB / 0.6238 GB, free: 15 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.690297797322273] Failed to read output from testmodel.py, exit status != 0: 0.02207525074481964 0.037036117 0.029385657000000003 Calling exit ...