Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.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.0008969/0.0008969, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001048/0.001048, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.9145/0.9145, allocations: 177.2 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5709/0.5709, allocations: 114 MB / 373.9 MB, free: 8.703 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.238e-06/4.238e-06, allocations: 3.984 kB / 0.5543 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.499e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001419/0.001444, allocations: 0.7974 MB / 0.555 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.002506, allocations: 1.026 MB / 0.556 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.00256, allocations: 4 kB / 0.556 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.969e-05/0.00266, allocations: 11.86 kB / 0.5561 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.692e-05/0.002696, allocations: 27.73 kB / 0.5561 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.003074, allocations: 99.69 kB / 0.5562 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.003197, allocations: 123.6 kB / 0.5563 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.003328, allocations: 37.22 kB / 0.5563 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.405e-05/0.003412, allocations: 71.86 kB / 0.5564 GB, free: 488 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.441e-05/0.003466, allocations: 43.89 kB / 0.5564 GB, free: 444 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.003488, allocations: 12 kB / 0.5565 GB, free: 432 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.003602, allocations: 91.84 kB / 0.5565 GB, free: 340 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.235e-05/0.003655, allocations: 43.83 kB / 0.5566 GB, free: 296 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.003691, allocations: 35.86 kB / 0.5566 GB, free: 260 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.003913, allocations: 223.2 kB / 0.5568 GB, free: 36 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003916, allocations: 0 / 0.5568 GB, free: 36 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.443e-06/0.003917, allocations: 8 kB / 0.5568 GB, free: 28 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.003922, allocations: 0 / 0.5568 GB, free: 28 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0005463/0.004468, allocations: 417.4 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.004509, allocations: 12.62 kB / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.004546, allocations: 46.73 kB / 0.5573 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.004578, allocations: 24.8 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.004722, allocations: 145.5 kB / 0.5575 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.004733, allocations: 12.38 kB / 0.5575 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.004746, allocations: 4.375 kB / 0.5575 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.00509, allocations: 209.3 kB / 0.5577 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.006e-06/0.005098, allocations: 192 / 0.5577 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.005111, allocations: 4.375 kB / 0.5577 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.005117, allocations: 8.125 kB / 0.5577 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.005486, allocations: 223.8 kB / 0.5579 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008034/0.006289, allocations: 479.5 kB / 0.5584 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.006524, allocations: 150.4 kB / 0.5585 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.006725, allocations: 140.8 kB / 0.5586 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.914e-05/0.006774, allocations: 7.984 kB / 0.5586 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.006793, allocations: 34.56 kB / 0.5587 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.006795, allocations: 0 / 0.5587 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.0007461/0.007541, allocations: 477.4 kB / 0.5591 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.007574, allocations: 59.41 kB / 0.5592 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.18e-05/0.007666, allocations: 153.5 kB / 0.5593 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.007682, allocations: 29.69 kB / 0.5594 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.007729, allocations: 112.5 kB / 0.5595 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.007773, allocations: 67.39 kB / 0.5595 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.007817, allocations: 33.7 kB / 0.5596 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.07e-05/0.007897, allocations: 330.8 kB / 0.5599 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.008107, allocations: 135.8 kB / 0.56 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.008295, allocations: 131.9 kB / 0.5601 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.008686, allocations: 303.9 kB / 0.5604 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.008688, allocations: 0 / 0.5604 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000456/0.009144, allocations: 333.4 kB / 0.5607 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.009161, allocations: 4 kB / 0.5607 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.009177, allocations: 4 kB / 0.5607 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.009191, allocations: 3.938 kB / 0.5607 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.009314, allocations: 31.95 kB / 0.5608 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.009319, allocations: 8 kB / 0.5608 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.595e-05/0.009405, allocations: 39.78 kB / 0.5608 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.009429, allocations: 8 kB / 0.5608 GB, free: 11.74 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001057/0.009535, allocations: 138.9 kB / 0.561 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.009555, allocations: 11.91 kB / 0.561 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005138/0.01007, allocations: 359.2 kB / 0.5613 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01007, allocations: 4 kB / 0.5613 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01008, allocations: 0 / 0.5613 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01008, allocations: 7.938 kB / 0.5613 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.01026, allocations: 224.5 kB / 0.5615 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.01026, allocations: 3.984 kB / 0.5615 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.317e-05/0.01035, allocations: 35.95 kB / 0.5616 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01036, allocations: 0 / 0.5616 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.01037, allocations: 0 / 0.5616 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.01037, allocations: 4 kB / 0.5616 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01037, allocations: 4 kB / 0.5616 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.01084, allocations: 443.9 kB / 0.562 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.01086, allocations: 15.84 kB / 0.562 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.01087, allocations: 4 kB / 0.562 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.01097, allocations: 35.95 kB / 0.5621 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.01103, allocations: 11.98 kB / 0.5621 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.01104, allocations: 7.875 kB / 0.5621 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.01109, allocations: 119 kB / 0.5622 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01109, allocations: 0 / 0.5622 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002084/0.0113, allocations: 36 kB / 0.5622 GB, free: 10.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007721/0.01207, allocations: 0.9948 MB / 0.5632 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005026/0.01257, allocations: 367.1 kB / 0.5636 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01257, allocations: 0 / 0.5636 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.01281, allocations: 223.3 kB / 0.5638 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.01306, allocations: 24.77 kB / 0.5638 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.01545, allocations: 2.361 MB / 0.5661 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.66e-05/0.01554, allocations: 122.4 kB / 0.5662 GB, free: 6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.888e-05/0.0156, allocations: 15.97 kB / 0.5662 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.41e-05/0.01566, allocations: 48.48 kB / 0.5663 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/0.01567, allocations: 0 / 0.5663 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.03258, allocations: 4.734 MB / 0.5709 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.869/6.902, allocations: 3.938 kB / 0.5709 GB, free: 1.371 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sort_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sort.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.41054664645344] Failed to read output from testmodel.py, exit status != 0: 6.982838529162109 6.993865931 6.988127012 Calling exit ...