Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.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.0007932/0.0007932, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0008708/0.0008708, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.9281/0.9281, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.5634/0.5634, allocations: 114 MB / 373.9 MB, free: 8.695 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.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.566e-05, allocations: 6.109 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.00215/0.002175, allocations: 1.445 MB / 0.5556 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009794/0.003155, allocations: 0.7593 MB / 0.5564 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.003204, allocations: 4 kB / 0.5564 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.003238, allocations: 3.938 kB / 0.5564 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.596e-05/0.003284, allocations: 0 / 0.5564 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.003706, allocations: 135.4 kB / 0.5565 GB, free: 424 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.422e-05/0.00378, allocations: 31.91 kB / 0.5565 GB, free: 392 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.281e-05/0.003873, allocations: 11.98 kB / 0.5565 GB, free: 380 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.028e-05/0.003923, allocations: 19.92 kB / 0.5566 GB, free: 360 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.558e-05/0.003968, allocations: 11.98 kB / 0.5566 GB, free: 348 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.003983, allocations: 4 kB / 0.5566 GB, free: 344 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.004248, allocations: 255.5 kB / 0.5568 GB, free: 88 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.004264, allocations: 3.984 kB / 0.5568 GB, free: 84 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.004285, allocations: 11.98 kB / 0.5568 GB, free: 72 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.004547, allocations: 215.4 kB / 0.557 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004549, allocations: 0 / 0.557 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.323e-06/0.004551, allocations: 0 / 0.557 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.004556, allocations: 0 / 0.557 GB, free: 15.86 MB / 0.5261 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.0004634/0.00502, allocations: 297.9 kB / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.005075, allocations: 12.62 kB / 0.5573 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.005111, allocations: 30.75 kB / 0.5574 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002822/0.005393, allocations: 64.84 kB / 0.5574 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.005513, allocations: 125.7 kB / 0.5575 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.005547, allocations: 384 / 0.5575 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.005563, allocations: 8.359 kB / 0.5575 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.005775, allocations: 78.19 kB / 0.5576 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.005786, allocations: 192 / 0.5576 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.005802, allocations: 8.125 kB / 0.5576 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.00581, allocations: 4 kB / 0.5576 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.006035, allocations: 95.83 kB / 0.5577 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.006493, allocations: 248 kB / 0.558 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.006717, allocations: 98.48 kB / 0.5581 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.006829, allocations: 52.81 kB / 0.5581 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.006851, allocations: 0 / 0.5581 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.00688, allocations: 38.56 kB / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.006882, allocations: 0 / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000449/0.007331, allocations: 169.4 kB / 0.5583 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.007365, allocations: 51.53 kB / 0.5584 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/0.007434, allocations: 101.9 kB / 0.5585 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.007448, allocations: 29.69 kB / 0.5585 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.007499, allocations: 92.08 kB / 0.5586 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.007525, allocations: 7.891 kB / 0.5586 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.007559, allocations: 13.72 kB / 0.5586 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.007664, allocations: 318.8 kB / 0.5589 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.007775, allocations: 51.94 kB / 0.5589 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.292e-05/0.007868, allocations: 39.95 kB / 0.559 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.008058, allocations: 92.77 kB / 0.5591 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.008061, allocations: 0 / 0.5591 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000227/0.008288, allocations: 133.5 kB / 0.5592 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.008302, allocations: 4 kB / 0.5592 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.008308, allocations: 8.031 kB / 0.5592 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.008321, allocations: 0 / 0.5592 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.13e-05/0.008413, allocations: 19.97 kB / 0.5592 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.008418, allocations: 0 / 0.5592 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.008467, allocations: 15.98 kB / 0.5592 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.008474, allocations: 0 / 0.5592 GB, free: 13.4 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: 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 7.171e-05/0.008545, allocations: 117.8 kB / 0.5594 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.008561, allocations: 3.938 kB / 0.5594 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.008595, allocations: 7.312 kB / 0.5594 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.008598, allocations: 0 / 0.5594 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.008604, allocations: 4 kB / 0.5594 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.008608, allocations: 0 / 0.5594 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.008725, allocations: 128.8 kB / 0.5595 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.008727, allocations: 3.938 kB / 0.5595 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.768e-05/0.008785, allocations: 28.16 kB / 0.5595 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.008787, allocations: 0 / 0.5595 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.008799, allocations: 8 kB / 0.5595 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.0088, allocations: 0 / 0.5595 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.008801, allocations: 0 / 0.5595 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.009057, allocations: 215.5 kB / 0.5597 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.009065, allocations: 7.891 kB / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.009078, allocations: 4 kB / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.051e-05/0.009138, allocations: 16 kB / 0.5598 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.009177, allocations: 12 kB / 0.5598 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.009182, allocations: 3.984 kB / 0.5598 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.273e-05/0.009215, allocations: 83.22 kB / 0.5599 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.009215, allocations: 0 / 0.5599 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001755/0.009391, allocations: 15.94 kB / 0.5599 GB, free: 12.69 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: 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.0005373/0.009928, allocations: 0.7591 MB / 0.5606 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.01018, allocations: 91.94 kB / 0.5607 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01019, allocations: 0 / 0.5607 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.792e-05/0.01028, allocations: 51.95 kB / 0.5608 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.01052, allocations: 11.98 kB / 0.5608 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.01103, allocations: 194.3 kB / 0.5609 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.373e-05/0.01108, allocations: 63.34 kB / 0.561 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.856e-05/0.01113, allocations: 8 kB / 0.561 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.01116, allocations: 12.48 kB / 0.561 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/0.01116, allocations: 4 kB / 0.561 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.02796, allocations: 2.375 MB / 0.5634 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/6.935, allocations: 16.83 kB / 0.5634 GB, free: 9.172 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.48177856951952] Failed to read output from testmodel.py, exit status != 0: 7.016320995055139 7.02486582 7.018603046 Calling exit ...