Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.0007605/0.0007605, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0009345/0.0009345, allocations: 162 kB / 22.43 MB, free: 2.141 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.8996/0.8996, allocations: 177.2 MB / 202.8 MB, free: 5.781 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.6913/0.6913, allocations: 155 MB / 414.2 MB, free: 472 kB / 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.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo",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.000963/0.000963, allocations: 66.53 kB / 0.6187 GB, free: 13.18 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4655, allocations: 102 MB / 0.7183 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001404/0.4669, allocations: 0.6803 MB / 0.719 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007762/0.4676, allocations: 0.902 MB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.4677, allocations: 4 kB / 0.7199 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.4677, allocations: 3.938 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.268e-05/0.4678, allocations: 5.75 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.4679, allocations: 18.3 kB / 0.7199 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.696e-05/0.468, allocations: 46.08 kB / 0.7199 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.969e-05/0.4681, allocations: 9.094 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.892e-05/0.4682, allocations: 25.39 kB / 0.72 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.348e-05/0.4682, allocations: 18.41 kB / 0.72 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.4682, allocations: 3.156 kB / 0.72 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.657e-06/0.4682, allocations: 4.406 kB / 0.72 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.4683, allocations: 14.8 kB / 0.72 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.4683, allocations: 13.8 kB / 0.72 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.588e-05/0.4684, allocations: 53.61 kB / 0.7201 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4684, allocations: 0 / 0.7201 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4684, allocations: 0.6562 kB / 0.7201 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.4684, allocations: 1.094 kB / 0.7201 GB, free: 21.94 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003517/0.4687, allocations: 288 kB / 0.7203 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4688, allocations: 11.22 kB / 0.7204 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.505e-05/0.4688, allocations: 32.91 kB / 0.7204 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.03e-05/0.4688, allocations: 14.02 kB / 0.7204 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.213e-05/0.4689, allocations: 115.1 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.4689, allocations: 5.594 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.4689, allocations: 2.531 kB / 0.7205 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.4691, allocations: 68.72 kB / 0.7206 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.4691, allocations: 5.125 kB / 0.7206 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.4691, allocations: 0.6562 kB / 0.7206 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4691, allocations: 1.125 kB / 0.7206 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.4693, allocations: 66.36 kB / 0.7207 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.4695, allocations: 235.4 kB / 0.7209 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.4697, allocations: 54.92 kB / 0.7209 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.062e-05/0.4697, allocations: 36.36 kB / 0.721 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.4698, allocations: 5.781 kB / 0.721 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.4698, allocations: 36.22 kB / 0.721 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.794e-06/0.4698, allocations: 1.156 kB / 0.721 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003222/0.4701, allocations: 127.6 kB / 0.7211 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.4701, allocations: 53.55 kB / 0.7212 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.234e-05/0.4702, allocations: 118.8 kB / 0.7213 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.4702, allocations: 26.45 kB / 0.7213 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/0.4702, allocations: 83.7 kB / 0.7214 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.4702, allocations: 14.56 kB / 0.7214 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.4702, allocations: 17.05 kB / 0.7214 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.038e-05/0.4703, allocations: 318.1 kB / 0.7217 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.891e-05/0.4703, allocations: 30.12 kB / 0.7218 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.4704, allocations: 32.84 kB / 0.7218 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.4706, allocations: 74.61 kB / 0.7219 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4706, allocations: 0 / 0.7219 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001723/0.4707, allocations: 102.5 kB / 0.722 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.4708, allocations: 5.281 kB / 0.722 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4708, allocations: 4 kB / 0.722 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.4708, allocations: 1.594 kB / 0.722 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.4709, allocations: 15 kB / 0.722 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4709, allocations: 1.75 kB / 0.722 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.4709, allocations: 11.34 kB / 0.722 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.4709, allocations: 1.125 kB / 0.722 GB, free: 20.32 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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 4.214e-05/0.471, allocations: 117.7 kB / 0.7221 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.471, allocations: 6.953 kB / 0.7221 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.471, allocations: 9.609 kB / 0.7221 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.471, allocations: 0 / 0.7221 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.471, allocations: 1.609 kB / 0.7221 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.471, allocations: 0 / 0.7221 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.584e-05/0.4711, allocations: 141.3 kB / 0.7223 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4711, allocations: 1.828 kB / 0.7223 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.4711, allocations: 18.61 kB / 0.7223 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4712, allocations: 1.672 kB / 0.7223 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.4712, allocations: 0 / 0.7223 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4712, allocations: 4.703 kB / 0.7223 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4712, allocations: 5.219 kB / 0.7223 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.4714, allocations: 199.5 kB / 0.7225 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.4714, allocations: 8.969 kB / 0.7225 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.4714, allocations: 1.703 kB / 0.7225 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.622e-05/0.4714, allocations: 11.64 kB / 0.7225 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.4715, allocations: 4.734 kB / 0.7225 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.4715, allocations: 1.375 kB / 0.7225 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.236e-05/0.4715, allocations: 92.27 kB / 0.7226 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4715, allocations: 0 / 0.7226 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001405/0.4716, allocations: 5.938 kB / 0.7226 GB, free: 19.77 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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.0003015/0.4719, allocations: 0.7273 MB / 0.7233 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.4721, allocations: 71 kB / 0.7234 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4721, allocations: 1.344 kB / 0.7234 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.988e-05/0.4722, allocations: 41.56 kB / 0.7234 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.4725, allocations: 8.578 kB / 0.7234 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003364/0.4728, allocations: 155.2 kB / 0.7236 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.737e-05/0.4729, allocations: 67.67 kB / 0.7236 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.4729, allocations: 1.781 kB / 0.7236 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.4729, allocations: 16.31 kB / 0.7237 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.4729, allocations: 0 / 0.7237 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.4906, allocations: 2.366 MB / 0.726 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.495/6.986, allocations: 5.688 kB / 0.726 GB, free: 17.91 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.629235388012603] Failed to read output from testmodel.py, exit status != 0: 7.063727391883731 7.074252515 6.60389162 Calling exit ...