Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000727/0.000727, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007508/0.0007508, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8839/0.8839, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.707/0.707, allocations: 154.5 MB / 413.7 MB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.41e-05, allocations: 6.609 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001611/0.001625, allocations: 1.465 MB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007806/0.002406, allocations: 482.8 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.002434, allocations: 0 / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.002459, allocations: 3.938 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.205e-05/0.002521, allocations: 3.938 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.002709, allocations: 19.92 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.933e-05/0.002769, allocations: 27.91 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.002855, allocations: 8 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.651e-05/0.002922, allocations: 15.98 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.456e-05/0.002956, allocations: 11.92 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.002968, allocations: 0 / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.931e-05/0.003018, allocations: 16 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.00303, allocations: 3.984 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.571e-05/0.003046, allocations: 8 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.735e-05/0.003133, allocations: 35.83 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.003136, allocations: 3.984 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003137, allocations: 0 / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.00314, allocations: 0 / 0.6201 GB, free: 11.62 MB / 0.5886 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.0003094/0.00345, allocations: 270.3 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.003482, allocations: 9.469 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.511e-05/0.003507, allocations: 38.69 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.003647, allocations: 12.92 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.685e-05/0.003713, allocations: 105.8 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.003724, allocations: 4.375 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-06/0.003733, allocations: 4.375 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.003851, allocations: 54.22 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.003858, allocations: 192 / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.003867, allocations: 8.125 kB / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.003871, allocations: 0 / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.881e-05/0.00396, allocations: 39.95 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.004237, allocations: 228 kB / 0.6208 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.682e-05/0.004313, allocations: 34.56 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/0.004361, allocations: 32.83 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.004382, allocations: 4 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.004398, allocations: 30.56 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.004398, allocations: 0 / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002115/0.00461, allocations: 89.58 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.004636, allocations: 59.28 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.994e-05/0.004686, allocations: 101.9 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.004697, allocations: 25.7 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.004731, allocations: 88.12 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.004746, allocations: 12.06 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.00477, allocations: 13.72 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.055e-05/0.00484, allocations: 318.8 kB / 0.6216 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.231e-05/0.004883, allocations: 15.97 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.632e-05/0.004919, allocations: 20 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.035e-05/0.004999, allocations: 40.83 kB / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.005001, allocations: 4.062 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001023/0.005103, allocations: 73.53 kB / 0.6218 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.005115, allocations: 8 kB / 0.6218 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.005119, allocations: 0 / 0.6218 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.00513, allocations: 0 / 0.6218 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.741e-05/0.005197, allocations: 11.98 kB / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.005201, allocations: 0 / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.005231, allocations: 11.98 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.005236, allocations: 4.281 kB / 0.6218 GB, free: 9.695 MB / 0.5886 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 5.192e-05/0.005288, allocations: 114.8 kB / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.0053, allocations: 7.891 kB / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.005335, allocations: 7.297 kB / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.005338, allocations: 4 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.005342, allocations: 0 / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.005345, allocations: 7.984 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.282e-05/0.005437, allocations: 124.8 kB / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.005439, allocations: 3.938 kB / 0.622 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.005473, allocations: 15.98 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.005474, allocations: 0 / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.005481, allocations: 0 / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.005483, allocations: 3.984 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-07/0.005483, allocations: 0 / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.005613, allocations: 171.5 kB / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-06/0.005621, allocations: 7.938 kB / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-06/0.005629, allocations: 0 / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.19e-05/0.005671, allocations: 11.97 kB / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.0057, allocations: 3.984 kB / 0.6223 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.005703, allocations: 0 / 0.6223 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.52e-05/0.005728, allocations: 83.28 kB / 0.6223 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005728, allocations: 4 kB / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000135/0.005863, allocations: 4 kB / 0.6223 GB, free: 9.059 MB / 0.5886 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.0002798/0.006143, allocations: 0.7006 MB / 0.623 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.006261, allocations: 47.94 kB / 0.6231 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.006263, allocations: 0 / 0.6231 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.006307, allocations: 19.97 kB / 0.6231 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.006508, allocations: 10.03 kB / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.006816, allocations: 134.5 kB / 0.6232 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.126e-05/0.006857, allocations: 63.47 kB / 0.6233 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.459e-05/0.006882, allocations: 4 kB / 0.6233 GB, free: 8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.006919, allocations: 16.5 kB / 0.6233 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of SimCode: time 8.31e-07/0.00692, allocations: 0 / 0.6233 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.02189, allocations: 2.085 MB / 0.6253 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.123/7.145, allocations: 6.984 kB / 0.6253 GB, free: 6.043 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.737897825427353] Failed to read output from testmodel.py, exit status != 0: 7.2251901645213366 7.23561408 7.230765385 Calling exit ...