Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",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.001409/0.001409, allocations: 109.4 kB / 15.69 MB, free: 128 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.001672/0.001672, allocations: 189.5 kB / 16.62 MB, free: 6.574 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.414/1.414, allocations: 222.9 MB / 240.3 MB, free: 4.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9499/0.9499, allocations: 143.1 MB / 433.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.91 kB / 0.5144 GB, free: 11.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.176, allocations: 82.04 MB / 0.5946 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002858/0.1789, allocations: 1.431 MB / 0.596 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003047/0.1793, allocations: 84.64 kB / 0.596 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.845e-05/0.1793, allocations: 4 kB / 0.596 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.1794, allocations: 7.875 kB / 0.596 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.473e-05/0.1794, allocations: 3.938 kB / 0.596 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.1797, allocations: 15.98 kB / 0.5961 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.739e-05/0.1797, allocations: 23.92 kB / 0.5961 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1799, allocations: 8 kB / 0.5961 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.527e-05/0.1799, allocations: 11.97 kB / 0.5961 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.318e-05/0.18, allocations: 7.938 kB / 0.5961 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.18, allocations: 7.938 kB / 0.5961 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.004e-05/0.18, allocations: 19.98 kB / 0.5961 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.1801, allocations: 11.92 kB / 0.5961 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.1801, allocations: 11.94 kB / 0.5962 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.1802, allocations: 27.95 kB / 0.5962 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1802, allocations: 0 / 0.5962 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.755e-06/0.1802, allocations: 0 / 0.5962 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.1803, allocations: 3.938 kB / 0.5962 GB, free: 7.691 MB / 0.4981 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.0004825/0.1807, allocations: 343.7 kB / 0.5965 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1808, allocations: 12.03 kB / 0.5965 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.1808, allocations: 42.69 kB / 0.5966 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.1811, allocations: 12.92 kB / 0.5966 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.1812, allocations: 168.3 kB / 0.5967 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.1812, allocations: 384 / 0.5967 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.1812, allocations: 4.375 kB / 0.5967 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.1814, allocations: 54.22 kB / 0.5968 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1814, allocations: 7.938 kB / 0.5968 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1815, allocations: 4 kB / 0.5968 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1815, allocations: 4 kB / 0.5968 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.1817, allocations: 43.95 kB / 0.5969 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.1821, allocations: 264.9 kB / 0.5971 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.1822, allocations: 54.48 kB / 0.5972 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1824, allocations: 32.89 kB / 0.5972 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.1824, allocations: 7.984 kB / 0.5972 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1824, allocations: 30.56 kB / 0.5972 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1824, allocations: 0 / 0.5972 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004155/0.1828, allocations: 109.6 kB / 0.5973 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.1829, allocations: 51.41 kB / 0.5974 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/0.183, allocations: 105.8 kB / 0.5975 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.183, allocations: 25.7 kB / 0.5975 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.1831, allocations: 88.05 kB / 0.5976 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.1831, allocations: 3.938 kB / 0.5976 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.1831, allocations: 17.7 kB / 0.5976 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1832, allocations: 319 kB / 0.5979 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1834, allocations: 19.97 kB / 0.5979 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.902e-05/0.1834, allocations: 23.98 kB / 0.598 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1836, allocations: 48.81 kB / 0.598 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1836, allocations: 8 kB / 0.598 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002288/0.1839, allocations: 89.48 kB / 0.5981 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1839, allocations: 6.188 kB / 0.5981 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1839, allocations: 0 / 0.5981 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.893e-05/0.184, allocations: 4 kB / 0.5981 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1841, allocations: 15.86 kB / 0.5981 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1841, allocations: 0 / 0.5981 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.195e-05/0.1842, allocations: 16.02 kB / 0.5981 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1842, allocations: 0 / 0.5981 GB, free: 5.461 MB / 0.4981 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.728e-05/0.1843, allocations: 113.8 kB / 0.5982 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.1843, allocations: 4 kB / 0.5983 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.1844, allocations: 3.531 kB / 0.5983 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1844, allocations: 0 / 0.5983 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1844, allocations: 0 / 0.5983 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1844, allocations: 0 / 0.5983 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.1845, allocations: 173.6 kB / 0.5984 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1846, allocations: 4 kB / 0.5984 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.605e-05/0.1846, allocations: 11.98 kB / 0.5984 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1846, allocations: 0 / 0.5984 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1847, allocations: 0 / 0.5984 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1847, allocations: 256 / 0.5984 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1847, allocations: 0 / 0.5984 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.185, allocations: 183.3 kB / 0.5986 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.185, allocations: 89.09 kB / 0.5987 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.185, allocations: 0 / 0.5987 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.033e-05/0.1851, allocations: 4 kB / 0.5987 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.1852, allocations: 3.984 kB / 0.5987 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1852, allocations: 8 kB / 0.5987 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.669e-05/0.1852, allocations: 79.28 kB / 0.5988 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1852, allocations: 0 / 0.5988 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002143/0.1854, allocations: 8.031 kB / 0.5988 GB, free: 4.691 MB / 0.4981 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.0005594/0.186, allocations: 0.7085 MB / 0.5995 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.1863, allocations: 55.97 kB / 0.5995 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1863, allocations: 0 / 0.5995 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.44e-05/0.1864, allocations: 23.98 kB / 0.5996 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.1867, allocations: 7.984 kB / 0.5996 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.1872, allocations: 165.8 kB / 0.5997 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.1874, allocations: 0.6768 MB / 0.6004 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.068e-05/0.1874, allocations: 0 / 0.6004 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.1875, allocations: 11.44 kB / 0.6004 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of SimCode: time 1.553e-06/0.1875, allocations: 0 / 0.6004 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.2104, allocations: 1.457 MB / 0.6018 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.601, allocations: 2.938 kB / 0.6018 GB, free: 1.594 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)