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.001345/0.001345, allocations: 96.58 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.001651, allocations: 174.8 kB / 16.57 MB, free: 6.387 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.754/1.754, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9768/0.9768, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006781/0.0006779, allocations: 8.844 kB / 493 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2394, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.001842/0.2413, allocations: 1.142 MB / 0.5578 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2426, allocations: 0.7299 MB / 0.5585 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.2426, allocations: 4 kB / 0.5586 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.2427, allocations: 0 / 0.5586 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.627e-05/0.2427, allocations: 4 kB / 0.5586 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.2432, allocations: 95.67 kB / 0.5586 GB, free: 9.711 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.707e-05/0.2432, allocations: 31.89 kB / 0.5587 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2434, allocations: 4 kB / 0.5587 GB, free: 9.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.73e-05/0.2434, allocations: 15.98 kB / 0.5587 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.522e-05/0.2435, allocations: 19.92 kB / 0.5587 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.2435, allocations: 0 / 0.5587 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000533/0.2441, allocations: 307.5 kB / 0.559 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.2441, allocations: 7.938 kB / 0.559 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.2441, allocations: 25.7 kB / 0.559 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.2444, allocations: 148.1 kB / 0.5592 GB, free: 9.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2444, allocations: 0 / 0.5592 GB, free: 9.156 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2444, allocations: 0 / 0.5592 GB, free: 9.156 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.2444, allocations: 0 / 0.5592 GB, free: 9.156 MB / 430.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.0005999/0.245, allocations: 379.2 kB / 0.5595 GB, free: 8.738 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.2451, allocations: 8.031 kB / 0.5596 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.2451, allocations: 34.56 kB / 0.5596 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005193/0.2456, allocations: 83.91 kB / 0.5597 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.2458, allocations: 163.1 kB / 0.5598 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.2458, allocations: 0 / 0.5598 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.2459, allocations: 0 / 0.5598 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.2462, allocations: 105.5 kB / 0.5599 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.2462, allocations: 3.938 kB / 0.5599 GB, free: 8.293 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.2463, allocations: 0 / 0.5599 GB, free: 8.293 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2463, allocations: 0 / 0.5599 GB, free: 8.293 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004554/0.2467, allocations: 123.9 kB / 0.56 GB, free: 8.172 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.2473, allocations: 304.8 kB / 0.5603 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.2477, allocations: 110.5 kB / 0.5604 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.2478, allocations: 3.984 kB / 0.5604 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.2478, allocations: 38.5 kB / 0.5605 GB, free: 7.656 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2478, allocations: 0 / 0.5605 GB, free: 7.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0008082/0.2486, allocations: 201.6 kB / 0.5607 GB, free: 7.453 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.2487, allocations: 51.41 kB / 0.5607 GB, free: 7.391 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/0.2488, allocations: 105.8 kB / 0.5608 GB, free: 7.277 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.2488, allocations: 29.73 kB / 0.5608 GB, free: 7.242 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.2489, allocations: 80.14 kB / 0.5609 GB, free: 7.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.2489, allocations: 11.91 kB / 0.5609 GB, free: 7.148 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.2489, allocations: 0 / 0.5609 GB, free: 7.148 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.249, allocations: 314.8 kB / 0.5612 GB, free: 6.832 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.2492, allocations: 55.95 kB / 0.5613 GB, free: 6.777 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.2494, allocations: 59.89 kB / 0.5613 GB, free: 6.719 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.2497, allocations: 56.02 kB / 0.5614 GB, free: 6.664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2497, allocations: 3.938 kB / 0.5614 GB, free: 6.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004916/0.2502, allocations: 153.5 kB / 0.5616 GB, free: 6.504 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2502, allocations: 4 kB / 0.5616 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2502, allocations: 4 kB / 0.5616 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2502, allocations: 0 / 0.5616 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.2504, allocations: 23.97 kB / 0.5616 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.2504, allocations: 4 kB / 0.5616 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.2506, allocations: 20.02 kB / 0.5616 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.2506, allocations: 7.984 kB / 0.5616 GB, free: 6.441 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.465e-05/0.2507, allocations: 109.8 kB / 0.5617 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.2507, allocations: 7.953 kB / 0.5617 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.2508, allocations: 7.125 kB / 0.5617 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.2508, allocations: 0 / 0.5617 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2508, allocations: 0 / 0.5617 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2508, allocations: 0 / 0.5617 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.251, allocations: 173.5 kB / 0.5619 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.251, allocations: 0 / 0.5619 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.2512, allocations: 31.91 kB / 0.5619 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.2512, allocations: 7.953 kB / 0.5619 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.2512, allocations: 0 / 0.5619 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2512, allocations: 0 / 0.5619 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2512, allocations: 4 kB / 0.5619 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.2518, allocations: 243.4 kB / 0.5622 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.2519, allocations: 81.09 kB / 0.5622 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.2519, allocations: 3.953 kB / 0.5623 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.2521, allocations: 28 kB / 0.5623 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.2521, allocations: 4 kB / 0.5623 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.2521, allocations: 256 / 0.5623 GB, free: 5.656 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.927e-05/0.2522, allocations: 91.27 kB / 0.5624 GB, free: 5.566 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2522, allocations: 0 / 0.5624 GB, free: 5.566 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.2524, allocations: 16 kB / 0.5624 GB, free: 5.551 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001017/0.2535, allocations: 0.7755 MB / 0.5631 GB, free: 4.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004991/0.254, allocations: 123.9 kB / 0.5633 GB, free: 4.625 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.254, allocations: 0 / 0.5633 GB, free: 4.625 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.2542, allocations: 67.89 kB / 0.5633 GB, free: 4.559 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.2545, allocations: 15.78 kB / 0.5633 GB, free: 4.547 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007332/0.2552, allocations: 214.3 kB / 0.5635 GB, free: 4.301 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.2556, allocations: 0.677 MB / 0.5642 GB, free: 3.598 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.065e-05/0.2557, allocations: 8 kB / 0.5642 GB, free: 3.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.2557, allocations: 15.44 kB / 0.5642 GB, free: 3.574 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2557, allocations: 0 / 0.5642 GB, free: 3.574 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01175/0.2675, allocations: 1.363 MB / 0.5656 GB, free: 2.355 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.2677, allocations: 176.2 kB / 0.5657 GB, free: 2.117 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.021/3.288, allocations: 3.25 kB / 0.5657 GB, free: 2.117 MB / 430.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/linux/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) Environment - environmentSimulation: