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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 101.7 kB / 16.4 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002378/0.002378, allocations: 189.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.712/1.712, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8026/0.8026, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 65.11 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2128, allocations: 76.19 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.003109/0.216, allocations: 1.42 MB / 0.633 GB, free: 3.457 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.2175, allocations: 0.7835 MB / 0.6338 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.2175, allocations: 4 kB / 0.6338 GB, free: 2.66 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.216e-05/0.2176, allocations: 7.922 kB / 0.6338 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.612e-05/0.2177, allocations: 7.938 kB / 0.6338 GB, free: 2.645 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007291/0.2184, allocations: 127.5 kB / 0.6339 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.2186, allocations: 39.86 kB / 0.6339 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.2187, allocations: 4 kB / 0.6339 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.326e-05/0.2188, allocations: 11.98 kB / 0.6339 GB, free: 2.465 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.695e-05/0.2189, allocations: 27.91 kB / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.2189, allocations: 4 kB / 0.634 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005547/0.2195, allocations: 319.3 kB / 0.6343 GB, free: 2.121 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.2195, allocations: 11.98 kB / 0.6343 GB, free: 2.109 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.2195, allocations: 11.92 kB / 0.6343 GB, free: 2.098 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003822/0.2199, allocations: 194.5 kB / 0.6345 GB, free: 1.91 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2199, allocations: 0 / 0.6345 GB, free: 1.91 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2199, allocations: 4 kB / 0.6345 GB, free: 1.906 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.22, allocations: 0 / 0.6345 GB, free: 1.906 MB / 478.1 MB 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.0006283/0.2206, allocations: 376 kB / 0.6348 GB, free: 1.492 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2206, allocations: 8.031 kB / 0.6349 GB, free: 1.484 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.2207, allocations: 30.75 kB / 0.6349 GB, free: 1.445 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004745/0.2212, allocations: 68.84 kB / 0.635 GB, free: 1.379 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.2213, allocations: 168.5 kB / 0.6351 GB, free: 1.176 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.2214, allocations: 8.375 kB / 0.6351 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.2214, allocations: 384 / 0.6351 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.2217, allocations: 85.75 kB / 0.6352 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.2217, allocations: 3.938 kB / 0.6352 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.2218, allocations: 3.984 kB / 0.6352 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2218, allocations: 0 / 0.6352 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.2222, allocations: 95.84 kB / 0.6353 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.2228, allocations: 292.9 kB / 0.6356 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.2232, allocations: 102.5 kB / 0.6357 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.2234, allocations: 48.81 kB / 0.6357 GB, free: 492 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.2234, allocations: 0 / 0.6357 GB, free: 492 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.2235, allocations: 42.5 kB / 0.6358 GB, free: 440 kB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2235, allocations: 0 / 0.6358 GB, free: 440 kB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007425/0.2242, allocations: 165.5 kB / 0.6359 GB, free: 268 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.2243, allocations: 51.41 kB / 0.636 GB, free: 204 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.2244, allocations: 106 kB / 0.6361 GB, free: 88 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.2244, allocations: 25.7 kB / 0.6361 GB, free: 56 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.2244, allocations: 84.14 kB / 0.6362 GB, free: 15.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.2245, allocations: 7.906 kB / 0.6362 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.2245, allocations: 13.72 kB / 0.6362 GB, free: 15.94 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2247, allocations: 318.8 kB / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.2249, allocations: 47.95 kB / 0.6365 GB, free: 15.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.2251, allocations: 47.89 kB / 0.6366 GB, free: 15.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.2255, allocations: 88.83 kB / 0.6367 GB, free: 15.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2255, allocations: 0 / 0.6367 GB, free: 15.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004583/0.226, allocations: 129.5 kB / 0.6368 GB, free: 15.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.226, allocations: 4 kB / 0.6368 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.226, allocations: 0 / 0.6368 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.2261, allocations: 0 / 0.6368 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.2262, allocations: 24.22 kB / 0.6368 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2262, allocations: 0 / 0.6368 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.2264, allocations: 20.02 kB / 0.6368 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.2264, allocations: 4 kB / 0.6369 GB, free: 15.25 MB / 494.1 MB 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 8.973e-05/0.2265, allocations: 121.7 kB / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.2265, allocations: 4 kB / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.2266, allocations: 3.125 kB / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2266, allocations: 0 / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2266, allocations: 0 / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2266, allocations: 0 / 0.637 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.2268, allocations: 181.5 kB / 0.6371 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2268, allocations: 4 kB / 0.6372 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.227, allocations: 23.97 kB / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.227, allocations: 0 / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.227, allocations: 0 / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.227, allocations: 0 / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.227, allocations: 0 / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000521/0.2275, allocations: 227.4 kB / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.2276, allocations: 81.02 kB / 0.6375 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.2276, allocations: 4 kB / 0.6375 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.2278, allocations: 19.97 kB / 0.6375 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.2278, allocations: 4 kB / 0.6375 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.2278, allocations: 7.875 kB / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.348e-05/0.2279, allocations: 83.27 kB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2279, allocations: 0 / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.2281, allocations: 20.03 kB / 0.6376 GB, free: 14.39 MB / 494.1 MB 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.0009811/0.2291, allocations: 0.7514 MB / 0.6383 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000541/0.2297, allocations: 95.92 kB / 0.6384 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.2297, allocations: 0 / 0.6384 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.2299, allocations: 55.95 kB / 0.6385 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.2303, allocations: 1.406 kB / 0.6385 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000861/0.2311, allocations: 195.2 kB / 0.6387 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.2316, allocations: 0.6729 MB / 0.6393 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.629e-05/0.2316, allocations: 15.97 kB / 0.6393 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.2317, allocations: 19.44 kB / 0.6394 GB, free: 12.49 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2317, allocations: 0 / 0.6394 GB, free: 12.49 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.01/1.241, allocations: 1.703 MB / 0.641 GB, free: 10.88 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/15.21, allocations: 7.922 kB / 0.641 GB, free: 10.87 MB / 494.1 MB (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 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)