Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7051/0.7051, allocations: 127.4 MB / 134.9 MB, free: 3.445 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 173.8 kB / 164.6 MB, free: 11.63 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.2 MB / 399.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009981/0.000998, allocations: 90.88 kB / 476.7 MB, free: 1.539 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.41e-05/2.413e-05, allocations: 5.219 kB / 0.5467 GB, free: 95.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1775, allocations: 76.77 MB / 0.6216 GB, free: 43.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.3187, allocations: 103.5 MB / 0.7227 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.319, allocations: 91.94 kB / 0.7228 GB, free: 3.281 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01754/0.3366, allocations: 5.773 MB / 0.7285 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3367, allocations: 0 / 0.7285 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.3367, allocations: 0 / 0.7285 GB, free: 13.5 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000588/0.3373, allocations: 391.2 kB / 0.7288 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/0.3373, allocations: 16.02 kB / 0.7288 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004696/0.3378, allocations: 79.72 kB / 0.7289 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.3381, allocations: 167 kB / 0.7291 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/0.3381, allocations: 4 kB / 0.7291 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.3381, allocations: 4 kB / 0.7291 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000163/0.3383, allocations: 35.98 kB / 0.7291 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.3385, allocations: 69.64 kB / 0.7292 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.3386, allocations: 4 kB / 0.7292 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.3386, allocations: 0 / 0.7292 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3386, allocations: 0 / 0.7292 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000848/0.3395, allocations: 321.1 kB / 0.7295 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.3397, allocations: 62.56 kB / 0.7296 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.3397, allocations: 20.86 kB / 0.7296 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.3397, allocations: 4 kB / 0.7296 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.3398, allocations: 50.44 kB / 0.7296 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.3398, allocations: 0 / 0.7296 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.01273/0.3526, allocations: 2.108 MB / 0.7317 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3526, allocations: 55.41 kB / 0.7317 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.3527, allocations: 89 kB / 0.7318 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.3528, allocations: 25.7 kB / 0.7319 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.3529, allocations: 84.14 kB / 0.7319 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.353, allocations: 43.36 kB / 0.732 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.353, allocations: 3.938 kB / 0.732 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3532, allocations: 322.8 kB / 0.7323 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.3534, allocations: 107.9 kB / 0.7324 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.3536, allocations: 107.9 kB / 0.7325 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.3539, allocations: 138.6 kB / 0.7326 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3539, allocations: 0 / 0.7326 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006957/0.3546, allocations: 333.3 kB / 0.7329 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.3547, allocations: 12 kB / 0.733 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3547, allocations: 0 / 0.733 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3547, allocations: 0 / 0.733 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008139/0.3555, allocations: 115.8 kB / 0.7331 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3555, allocations: 3.938 kB / 0.7331 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/0.3561, allocations: 59.94 kB / 0.7331 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.3562, allocations: 19.94 kB / 0.7331 GB, free: 8.414 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001633/0.3564, allocations: 106.9 kB / 0.7332 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007195/0.3571, allocations: 333.2 kB / 0.7336 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.3572, allocations: 8 kB / 0.7336 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.3572, allocations: 8.406 kB / 0.7336 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3572, allocations: 0 / 0.7336 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.3572, allocations: 4 kB / 0.7336 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3572, allocations: 0 / 0.7336 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.3586, allocations: 0.9005 MB / 0.7345 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3586, allocations: 0 / 0.7345 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/0.3594, allocations: 115.8 kB / 0.7346 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3595, allocations: 4 kB / 0.7346 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.3595, allocations: 23.94 kB / 0.7346 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3595, allocations: 0 / 0.7346 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3595, allocations: 0 / 0.7346 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.3606, allocations: 0.5733 MB / 0.7352 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.3607, allocations: 116.9 kB / 0.7353 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-05/0.3608, allocations: 4 kB / 0.7353 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006372/0.3615, allocations: 63.94 kB / 0.7353 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.3615, allocations: 24.11 kB / 0.7354 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.393e-05/0.3616, allocations: 28.03 kB / 0.7354 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.873e-05/0.3617, allocations: 91.19 kB / 0.7355 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3617, allocations: 0 / 0.7355 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003644/0.362, allocations: 55.94 kB / 0.7355 GB, free: 5.832 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001389/0.3634, allocations: 1.13 MB / 0.7366 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005057/0.3639, allocations: 263.7 kB / 0.7369 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.364, allocations: 0 / 0.7369 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.3642, allocations: 139.8 kB / 0.737 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.3645, allocations: 12.92 kB / 0.737 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/0.3681, allocations: 0.7317 MB / 0.7377 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.3684, allocations: 0.6924 MB / 0.7384 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006589/0.3691, allocations: 96.66 kB / 0.7385 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.3694, allocations: 63.3 kB / 0.7386 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.3694, allocations: 0 / 0.7386 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3806/0.75, allocations: 3.764 MB / 0.7422 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.7502, allocations: 170.8 kB / 0.7424 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.425, allocations: 0 / 0.7424 GB, free: 115.5 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)