Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.001132/0.001132, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008763/0.0008763, allocations: 213.8 kB / 22.25 MB, free: 3.711 MB / 13.93 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.9724/0.9724, allocations: 230.6 MB / 256 MB, free: 9.816 MB / 202.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.8099/0.8099, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [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.Functions.Examples.RegStep,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 74.36 kB / 0.7183 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5332/0.5344, allocations: 102 MB / 0.8179 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.00129/0.5357, allocations: 0.5974 MB / 0.8185 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002378/0.5359, allocations: 50.55 kB / 0.8185 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.493e-05/0.536, allocations: 0 / 0.8185 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.536, allocations: 0 / 0.8185 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.203e-06/0.536, allocations: 0 / 0.8185 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.5362, allocations: 16.7 kB / 0.8185 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.885e-05/0.5363, allocations: 4.5 kB / 0.8186 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.5363, allocations: 3.938 kB / 0.8186 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.607e-05/0.5363, allocations: 0 / 0.8186 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.417e-05/0.5364, allocations: 0.75 kB / 0.8186 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.5364, allocations: 3.938 kB / 0.8186 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.5365, allocations: 22.27 kB / 0.8186 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.018e-05/0.5365, allocations: 0 / 0.8186 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.5365, allocations: 3.938 kB / 0.8186 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.422e-05/0.5366, allocations: 21.09 kB / 0.8186 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5366, allocations: 3.469 kB / 0.8186 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5366, allocations: 4 kB / 0.8186 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.5366, allocations: 0 / 0.8186 GB, free: 0.8438 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002046/0.5368, allocations: 235.8 kB / 0.8188 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5368, allocations: 8.844 kB / 0.8188 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.409e-05/0.5369, allocations: 31.64 kB / 0.8189 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.5371, allocations: 17.97 kB / 0.8189 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.023e-05/0.5371, allocations: 104.6 kB / 0.819 GB, free: 432 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.5371, allocations: 0.9844 kB / 0.819 GB, free: 432 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.5371, allocations: 5.781 kB / 0.819 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.5372, allocations: 38.72 kB / 0.819 GB, free: 392 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.5373, allocations: 3.938 kB / 0.819 GB, free: 388 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.5373, allocations: 0 / 0.819 GB, free: 388 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.5373, allocations: 1.906 kB / 0.819 GB, free: 388 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.962e-05/0.5373, allocations: 12.08 kB / 0.8191 GB, free: 384 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.442e-05/0.5374, allocations: 120.6 kB / 0.8192 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.872e-05/0.5375, allocations: 25.16 kB / 0.8192 GB, free: 196 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.5375, allocations: 9.266 kB / 0.8192 GB, free: 188 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.5375, allocations: 0.6094 kB / 0.8192 GB, free: 188 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.5375, allocations: 31.94 kB / 0.8192 GB, free: 148 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.5375, allocations: 0 / 0.8192 GB, free: 148 kB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001696/0.5377, allocations: 64.64 kB / 0.8193 GB, free: 96 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.5377, allocations: 51.41 kB / 0.8193 GB, free: 32 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.386e-05/0.5378, allocations: 89.86 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.5378, allocations: 27.14 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.035e-05/0.5378, allocations: 80.7 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.5378, allocations: 2.25 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.5379, allocations: 13.22 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.5379, allocations: 316.1 kB / 0.8198 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.234e-05/0.538, allocations: 15.78 kB / 0.8199 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.119e-05/0.538, allocations: 2.109 kB / 0.8199 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.27e-05/0.5381, allocations: 23.94 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5381, allocations: 0 / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.057e-05/0.5381, allocations: 45.23 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.5382, allocations: 7.875 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5382, allocations: 6.844 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.5382, allocations: 4.547 kB / 0.82 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.5382, allocations: 4.938 kB / 0.82 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5383, allocations: 0.6094 kB / 0.82 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.5383, allocations: 0.5156 kB / 0.82 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.5383, allocations: 0.5156 kB / 0.82 GB, free: 15.42 MB / 0.6198 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 (1): * Single equations (assignments): 1 * 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 6.012e-05/0.5383, allocations: 109.5 kB / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-06/0.5383, allocations: 8.609 kB / 0.8201 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.5384, allocations: 11.69 kB / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5384, allocations: 0 / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5384, allocations: 0 / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.5384, allocations: 3.594 kB / 0.8201 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.997e-05/0.5385, allocations: 114.9 kB / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5385, allocations: 0 / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.5385, allocations: 4.109 kB / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.5385, allocations: 0 / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.5385, allocations: 6.547 kB / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.5385, allocations: 8.547 kB / 0.8202 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5385, allocations: 0 / 0.8202 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.286e-05/0.5386, allocations: 68.28 kB / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-06/0.5386, allocations: 2.406 kB / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.5386, allocations: 4.641 kB / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.19e-05/0.5386, allocations: 2.562 kB / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.5386, allocations: 4.688 kB / 0.8203 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.5386, allocations: 2.688 kB / 0.8203 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.153e-05/0.5387, allocations: 75.28 kB / 0.8204 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5387, allocations: 0 / 0.8204 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001227/0.5388, allocations: 1.656 kB / 0.8204 GB, free: 14.97 MB / 0.6198 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 (1): * Single equations (assignments): 1 * 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.0002829/0.5391, allocations: 0.6031 MB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.5392, allocations: 16.95 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5392, allocations: 0 / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/0.5392, allocations: 4.734 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001048/0.5393, allocations: 9.359 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.5396, allocations: 113.4 kB / 0.8211 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.5397, allocations: 0.6697 MB / 0.8217 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.664e-05/0.5398, allocations: 0.5625 kB / 0.8217 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.5398, allocations: 10.88 kB / 0.8218 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.5398, allocations: 3.938 kB / 0.8218 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.5563, allocations: 1.058 MB / 0.8228 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.625/7.181, allocations: 8.766 kB / 0.8228 GB, free: 13.11 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.172626018058509] Failed to read output from testmodel.py, exit status != 0: 7.259969131089747 7.270494755 6.731934778 Calling exit ...