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.001309/0.001309, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001515/0.001515, allocations: 190 kB / 16.25 MB, free: 6.625 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.516 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 1.013/1.013, allocations: 143 MB / 433.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 0.5138 GB, free: 11.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2198, allocations: 82.04 MB / 0.5939 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.003549/0.2234, allocations: 1.49 MB / 0.5954 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003108/0.2237, allocations: 96.58 kB / 0.5955 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.333e-05/0.2238, allocations: 0 / 0.5955 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/0.2238, allocations: 0 / 0.5955 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.2239, allocations: 7.875 kB / 0.5955 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.2242, allocations: 19.98 kB / 0.5955 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.161e-05/0.2242, allocations: 19.94 kB / 0.5955 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2244, allocations: 7.984 kB / 0.5955 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.2244, allocations: 8 kB / 0.5955 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.937e-05/0.2245, allocations: 19.91 kB / 0.5955 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.2245, allocations: 0 / 0.5955 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.767e-05/0.2246, allocations: 11.98 kB / 0.5955 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.2246, allocations: 8 kB / 0.5956 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.2246, allocations: 11.88 kB / 0.5956 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.2248, allocations: 35.95 kB / 0.5956 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2248, allocations: 4 kB / 0.5956 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2248, allocations: 0 / 0.5956 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.2248, allocations: 0 / 0.5956 GB, free: 8.059 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.0004823/0.2253, allocations: 339.7 kB / 0.5959 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.2253, allocations: 12.03 kB / 0.5959 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.2254, allocations: 38.69 kB / 0.596 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.2256, allocations: 16.91 kB / 0.596 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.2257, allocations: 168.2 kB / 0.5962 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.2257, allocations: 4.375 kB / 0.5962 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.2258, allocations: 8.312 kB / 0.5962 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.226, allocations: 66.22 kB / 0.5962 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.226, allocations: 7.922 kB / 0.5962 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.226, allocations: 0 / 0.5962 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.226, allocations: 0 / 0.5962 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.2262, allocations: 47.95 kB / 0.5963 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.2267, allocations: 264.9 kB / 0.5965 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.2269, allocations: 54.42 kB / 0.5966 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.227, allocations: 28.91 kB / 0.5966 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.227, allocations: 7.984 kB / 0.5966 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.227, allocations: 30.56 kB / 0.5967 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.227, allocations: 0 / 0.5967 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004096/0.2274, allocations: 101.6 kB / 0.5967 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.2275, allocations: 59.47 kB / 0.5968 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.2276, allocations: 105.8 kB / 0.5969 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.2276, allocations: 25.7 kB / 0.5969 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.2277, allocations: 88.05 kB / 0.597 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.2277, allocations: 3.938 kB / 0.597 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.2277, allocations: 13.72 kB / 0.597 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2278, allocations: 314.8 kB / 0.5973 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.2279, allocations: 31.97 kB / 0.5974 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-05/0.228, allocations: 23.97 kB / 0.5974 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.2282, allocations: 44.81 kB / 0.5974 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2282, allocations: 7.938 kB / 0.5974 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002267/0.2285, allocations: 85.56 kB / 0.5975 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2285, allocations: 4 kB / 0.5975 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2285, allocations: 4 kB / 0.5975 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.2285, allocations: 0 / 0.5975 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.2286, allocations: 11.98 kB / 0.5975 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.2287, allocations: 0 / 0.5975 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.183e-05/0.2287, allocations: 7.984 kB / 0.5975 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.2287, allocations: 0 / 0.5975 GB, free: 5.836 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 8.088e-05/0.2288, allocations: 125.8 kB / 0.5977 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.2289, allocations: 3.984 kB / 0.5977 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.2289, allocations: 3.531 kB / 0.5977 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2289, allocations: 0 / 0.5977 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2289, allocations: 0 / 0.5977 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2289, allocations: 4.25 kB / 0.5977 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.2291, allocations: 165.6 kB / 0.5978 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2291, allocations: 4 kB / 0.5978 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.808e-05/0.2292, allocations: 11.98 kB / 0.5978 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2292, allocations: 4 kB / 0.5979 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.2292, allocations: 3.938 kB / 0.5979 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2292, allocations: 0 / 0.5979 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2292, allocations: 4 kB / 0.5979 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.2295, allocations: 179.3 kB / 0.598 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.2295, allocations: 85.14 kB / 0.5981 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.2296, allocations: 0 / 0.5981 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.691e-05/0.2296, allocations: 7.984 kB / 0.5981 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.2297, allocations: 4 kB / 0.5981 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.2297, allocations: 4 kB / 0.5981 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.2297, allocations: 83.27 kB / 0.5982 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2298, allocations: 0 / 0.5982 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002105/0.23, allocations: 4 kB / 0.5982 GB, free: 5.055 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.0005528/0.2305, allocations: 0.7085 MB / 0.5989 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.2308, allocations: 59.92 kB / 0.599 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2308, allocations: 0 / 0.599 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.833e-05/0.2309, allocations: 23.97 kB / 0.599 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.2312, allocations: 6.578 kB / 0.599 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.2317, allocations: 163.1 kB / 0.5991 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.2319, allocations: 0.6768 MB / 0.5998 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.37e-05/0.232, allocations: 0 / 0.5998 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.232, allocations: 15.36 kB / 0.5998 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.232, allocations: 3.938 kB / 0.5998 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.2436, allocations: 1.303 MB / 0.6011 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/0.244, allocations: 204.3 kB / 0.6013 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/1.934, allocations: 0 / 0.6013 GB, free: 1.879 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)