Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_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.001327/0.001327, allocations: 108 kB / 15.6 MB, free: 132 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.001298/0.001298, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002139, allocations: 283 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9799/0.9799, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 97 kB / 0.5954 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1411, allocations: 86.99 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002203/0.1434, allocations: 0.6255 MB / 0.6809 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.1452, allocations: 1.45 MB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.1453, allocations: 0 / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.1453, allocations: 3.938 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.196e-05/0.1454, allocations: 8.719 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.1459, allocations: 114.1 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.488e-05/0.146, allocations: 23.92 kB / 0.6825 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.867e-05/0.1461, allocations: 11.98 kB / 0.6825 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.274e-05/0.1461, allocations: 16.52 kB / 0.6825 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.614e-05/0.1462, allocations: 20.98 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.1462, allocations: 0 / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004987/0.1468, allocations: 319.3 kB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.1468, allocations: 12.92 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.1468, allocations: 11.94 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.1471, allocations: 183.9 kB / 0.683 GB, free: 13.78 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1471, allocations: 4.531 kB / 0.683 GB, free: 13.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1472, allocations: 4 kB / 0.683 GB, free: 13.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1472, allocations: 0 / 0.683 GB, free: 13.77 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005013/0.1477, allocations: 383.3 kB / 0.6834 GB, free: 13.35 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1477, allocations: 8.031 kB / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.1478, allocations: 30.75 kB / 0.6834 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003705/0.1481, allocations: 64.77 kB / 0.6835 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1483, allocations: 172.3 kB / 0.6837 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1483, allocations: 8.312 kB / 0.6837 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.1483, allocations: 8.281 kB / 0.6837 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.1486, allocations: 77.77 kB / 0.6837 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1486, allocations: 0 / 0.6837 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.1487, allocations: 0 / 0.6837 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1487, allocations: 0 / 0.6837 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/0.149, allocations: 71.92 kB / 0.6838 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.1492, allocations: 177.7 kB / 0.684 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.1498, allocations: 126.4 kB / 0.6841 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.15, allocations: 40.94 kB / 0.6841 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.15, allocations: 7.984 kB / 0.6842 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.15, allocations: 38.5 kB / 0.6842 GB, free: 12.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.15, allocations: 0 / 0.6842 GB, free: 12.41 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.004188/0.1542, allocations: 0.7778 MB / 0.685 GB, free: 11.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.1543, allocations: 55.41 kB / 0.685 GB, free: 11.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.823e-05/0.1544, allocations: 114.1 kB / 0.6851 GB, free: 11.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1544, allocations: 25.7 kB / 0.6851 GB, free: 11.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.1545, allocations: 88.14 kB / 0.6852 GB, free: 11.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.1545, allocations: 27.56 kB / 0.6852 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.238e-05/0.1546, allocations: 25.7 kB / 0.6853 GB, free: 11.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1547, allocations: 322.8 kB / 0.6856 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.1551, allocations: 95.89 kB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.1556, allocations: 91.91 kB / 0.6858 GB, free: 10.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008868/0.1565, allocations: 204.8 kB / 0.686 GB, free: 10.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1565, allocations: 3.938 kB / 0.686 GB, free: 10.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009576/0.1575, allocations: 237.4 kB / 0.6862 GB, free: 10.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.1575, allocations: 11.94 kB / 0.6862 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1575, allocations: 0 / 0.6862 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.1575, allocations: 7.938 kB / 0.6862 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.1579, allocations: 47.94 kB / 0.6862 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.1579, allocations: 4.062 kB / 0.6863 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.1582, allocations: 43.95 kB / 0.6863 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1582, allocations: 4 kB / 0.6863 GB, free: 10.19 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 (9): * Single equations (assignments): 9 * 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 0.0001045/0.1583, allocations: 115.1 kB / 0.6864 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.1583, allocations: 8 kB / 0.6864 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.1584, allocations: 12.36 kB / 0.6864 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1584, allocations: 4 kB / 0.6864 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1584, allocations: 0 / 0.6864 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1584, allocations: 0 / 0.6864 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.1601, allocations: 0.5981 MB / 0.687 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1602, allocations: 0 / 0.687 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.1604, allocations: 56 kB / 0.6871 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1604, allocations: 0 / 0.6871 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.1605, allocations: 8 kB / 0.6871 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1605, allocations: 4 kB / 0.6871 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1605, allocations: 11.92 kB / 0.6871 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009704/0.1615, allocations: 332.9 kB / 0.6874 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.1615, allocations: 89.08 kB / 0.6875 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.1616, allocations: 4 kB / 0.6875 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.1618, allocations: 39.95 kB / 0.6875 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.1619, allocations: 15.86 kB / 0.6876 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.1619, allocations: 4 kB / 0.6876 GB, free: 8.789 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.666e-05/0.162, allocations: 91.45 kB / 0.6876 GB, free: 8.699 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.162, allocations: 0 / 0.6876 GB, free: 8.699 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.1623, allocations: 39.94 kB / 0.6877 GB, free: 8.66 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.001337/0.1636, allocations: 0.9013 MB / 0.6886 GB, free: 7.727 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000939/0.1646, allocations: 215.7 kB / 0.6888 GB, free: 7.516 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.1646, allocations: 0 / 0.6888 GB, free: 7.516 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004526/0.1651, allocations: 111.9 kB / 0.6889 GB, free: 7.406 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.1653, allocations: 12.69 kB / 0.6889 GB, free: 7.395 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/0.1701, allocations: 2.13 MB / 0.691 GB, free: 5.176 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.1704, allocations: 0.6846 MB / 0.6916 GB, free: 4.465 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.1706, allocations: 24.89 kB / 0.6917 GB, free: 4.438 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.111e-05/0.1707, allocations: 23.42 kB / 0.6917 GB, free: 4.414 MB / 494.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1707, allocations: 0 / 0.6917 GB, free: 4.414 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.1902, allocations: 2.724 MB / 0.6943 GB, free: 1.816 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/7.957, allocations: 7.875 kB / 0.6943 GB, free: 1.809 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)