Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.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.0008783/0.0008783, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009214/0.0009214, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8988/0.8988, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.6956/0.6956, allocations: 154.6 MB / 413.7 MB, free: 0.8398 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.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.424e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Min): time 0.001132/0.001147, allocations: 0.6834 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007424/0.001889, allocations: 0.8392 MB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/0.001926, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.001953, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.427e-05/0.002017, allocations: 7.922 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 9.563e-05/0.002113, allocations: 15.98 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.002422, allocations: 47.84 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.899e-05/0.002521, allocations: 8 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.471e-05/0.002595, allocations: 23.92 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.002635, allocations: 15.97 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.002658, allocations: 4 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.088e-06/0.002667, allocations: 4 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.002684, allocations: 11.92 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.002702, allocations: 11.98 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.783e-05/0.00278, allocations: 43.81 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002782, allocations: 4 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.21e-07/0.002783, allocations: 4 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.075e-06/0.002786, allocations: 0 / 0.6198 GB, free: 11.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003393/0.003125, allocations: 286.2 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.003162, allocations: 9.469 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.752e-05/0.003189, allocations: 34.75 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.888e-05/0.003208, allocations: 8.891 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.927e-05/0.003278, allocations: 109.8 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.003286, allocations: 384 / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.003294, allocations: 384 / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.003439, allocations: 74.22 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.003446, allocations: 192 / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.003455, allocations: 4.359 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.003461, allocations: 4.125 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.003596, allocations: 63.88 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.003876, allocations: 236 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.003989, allocations: 50.55 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.315e-05/0.004062, allocations: 40.91 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.004084, allocations: 3.938 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.004102, allocations: 34.5 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.004103, allocations: 0 / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003043/0.004407, allocations: 133.8 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.004438, allocations: 55.41 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.017e-05/0.004498, allocations: 105.8 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.00451, allocations: 25.7 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.004547, allocations: 92.09 kB / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.004564, allocations: 7.891 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.00459, allocations: 17.72 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.503e-05/0.004665, allocations: 322.8 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.031e-05/0.004736, allocations: 31.97 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-05/0.00481, allocations: 39.88 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.004943, allocations: 72.72 kB / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004945, allocations: 4 kB / 0.6216 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001582/0.005103, allocations: 101.5 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.005116, allocations: 4 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.00512, allocations: 0 / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.005131, allocations: 0 / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.005207, allocations: 15.98 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.005211, allocations: 0 / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.492e-05/0.005246, allocations: 19.97 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.005253, allocations: 0 / 0.6217 GB, free: 9.75 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 (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 5.674e-05/0.00531, allocations: 114.8 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.005322, allocations: 3.938 kB / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.005513, allocations: 109.5 kB / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.005514, allocations: 0 / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.005518, allocations: 4 kB / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.00552, allocations: 0 / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.005625, allocations: 132.8 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.005625, allocations: 0 / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.005666, allocations: 23.91 kB / 0.6221 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.005668, allocations: 0 / 0.6221 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.005675, allocations: 4 kB / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.005676, allocations: 0 / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.005677, allocations: 0 / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.005865, allocations: 199.4 kB / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-06/0.005871, allocations: 3.938 kB / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.005883, allocations: 7.984 kB / 0.6223 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.836e-05/0.005931, allocations: 7.984 kB / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.005969, allocations: 8 kB / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.005971, allocations: 0 / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.978e-05/0.006001, allocations: 87.27 kB / 0.6224 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006001, allocations: 0 / 0.6224 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001442/0.006145, allocations: 12 kB / 0.6224 GB, free: 8.965 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 (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.0006005/0.006746, allocations: 0.7279 MB / 0.6231 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001758/0.006922, allocations: 72.2 kB / 0.6232 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006923, allocations: 0 / 0.6232 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.874e-05/0.006992, allocations: 39.91 kB / 0.6232 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.007187, allocations: 14.66 kB / 0.6232 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.007488, allocations: 150.8 kB / 0.6234 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.831e-05/0.007526, allocations: 67.28 kB / 0.6234 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.978e-05/0.007546, allocations: 7.984 kB / 0.6234 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.007582, allocations: 20.44 kB / 0.6235 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.007582, allocations: 0 / 0.6235 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01369/0.02127, allocations: 2.31 MB / 0.6257 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.887/6.908, allocations: 10.31 kB / 0.6257 GB, free: 5.617 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Min.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.48133413027972] Failed to read output from testmodel.py, exit status != 0: 6.9864698220044374 6.995362754 6.990965088 Calling exit ...