Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.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.Biquadratic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic",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.001584/0.001584, allocations: 107.3 kB / 16.4 MB, free: 6.508 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.001645/0.001645, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.055/1.055, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 63.86 kB / 0.5572 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2043, allocations: 76.17 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Biquadratic): time 0.004219/0.2085, allocations: 1.485 MB / 0.633 GB, free: 3.395 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005356/0.2091, allocations: 104.5 kB / 0.6331 GB, free: 3.289 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.66e-05/0.2092, allocations: 4 kB / 0.6331 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 8.442e-05/0.2093, allocations: 3.938 kB / 0.6331 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.96e-05/0.2094, allocations: 7.922 kB / 0.6332 GB, free: 3.273 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.2098, allocations: 23.91 kB / 0.6332 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.2102, allocations: 43.91 kB / 0.6332 GB, free: 3.207 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.2103, allocations: 12 kB / 0.6332 GB, free: 3.195 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.838e-05/0.2104, allocations: 15.92 kB / 0.6332 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.169e-05/0.2105, allocations: 23.91 kB / 0.6333 GB, free: 3.156 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.2106, allocations: 4 kB / 0.6333 GB, free: 3.152 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.715e-05/0.2107, allocations: 23.92 kB / 0.6333 GB, free: 3.129 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.2107, allocations: 7.938 kB / 0.6333 GB, free: 3.121 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.2108, allocations: 31.84 kB / 0.6333 GB, free: 3.09 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.211, allocations: 55.81 kB / 0.6334 GB, free: 3.035 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.211, allocations: 0 / 0.6334 GB, free: 3.035 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.211, allocations: 0 / 0.6334 GB, free: 3.035 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.211, allocations: 0 / 0.6334 GB, free: 3.035 MB / 478.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.0007509/0.2118, allocations: 378.9 kB / 0.6337 GB, free: 2.617 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.2119, allocations: 8.031 kB / 0.6338 GB, free: 2.609 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.2119, allocations: 34.75 kB / 0.6338 GB, free: 2.566 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.212, allocations: 8.844 kB / 0.6338 GB, free: 2.559 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.2121, allocations: 172.3 kB / 0.634 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.2121, allocations: 384 / 0.634 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.2122, allocations: 4.375 kB / 0.634 GB, free: 2.348 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.2125, allocations: 78.16 kB / 0.634 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.2126, allocations: 3.938 kB / 0.634 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2126, allocations: 0 / 0.634 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2126, allocations: 0 / 0.634 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004863/0.2131, allocations: 79.91 kB / 0.6341 GB, free: 2.184 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/0.2138, allocations: 292.7 kB / 0.6344 GB, free: 1.848 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.2141, allocations: 70.53 kB / 0.6345 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.2144, allocations: 48.83 kB / 0.6345 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003629/0.2147, allocations: 109.1 kB / 0.6346 GB, free: 1.594 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.2148, allocations: 34.55 kB / 0.6346 GB, free: 1.551 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.2148, allocations: 0 / 0.6346 GB, free: 1.551 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0009117/0.2157, allocations: 149.6 kB / 0.6348 GB, free: 1.398 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.2158, allocations: 51.41 kB / 0.6348 GB, free: 1.336 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.216, allocations: 132.7 kB / 0.635 GB, free: 1.199 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.216, allocations: 25.7 kB / 0.635 GB, free: 1.168 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.2161, allocations: 95.98 kB / 0.6351 GB, free: 1.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.2162, allocations: 11.84 kB / 0.6351 GB, free: 1.059 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.2162, allocations: 17.7 kB / 0.6351 GB, free: 1.035 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.2164, allocations: 322.8 kB / 0.6354 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.2167, allocations: 39.89 kB / 0.6355 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.2169, allocations: 35.97 kB / 0.6355 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.2174, allocations: 80.72 kB / 0.6356 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.2174, allocations: 4 kB / 0.6356 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005851/0.218, allocations: 117.5 kB / 0.6357 GB, free: 440 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.2181, allocations: 4 kB / 0.6357 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2181, allocations: 0 / 0.6357 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.2181, allocations: 0 / 0.6357 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.2183, allocations: 15.98 kB / 0.6357 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.2184, allocations: 11.92 kB / 0.6357 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.2185, allocations: 11.98 kB / 0.6357 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.2185, allocations: 0 / 0.6357 GB, free: 396 kB / 478.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 (3): * Single equations (assignments): 3 * 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.0001411/0.2187, allocations: 117.8 kB / 0.6358 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.2187, allocations: 0 / 0.6358 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006347/0.2194, allocations: 121.5 kB / 0.636 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.2194, allocations: 4 kB / 0.636 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.2194, allocations: 0 / 0.636 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2194, allocations: 0 / 0.636 GB, free: 128 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.2198, allocations: 185.7 kB / 0.6361 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.2198, allocations: 4 kB / 0.6361 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.22, allocations: 11.98 kB / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.22, allocations: 0 / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.22, allocations: 0 / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.22, allocations: 11.94 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2201, allocations: 0 / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006387/0.2207, allocations: 203.4 kB / 0.6364 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.2208, allocations: 89.38 kB / 0.6364 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.2208, allocations: 0 / 0.6364 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.221, allocations: 15.97 kB / 0.6365 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.2211, allocations: 8 kB / 0.6365 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.2211, allocations: 0 / 0.6365 GB, free: 15.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.68e-05/0.2213, allocations: 95.27 kB / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2213, allocations: 3.938 kB / 0.6366 GB, free: 15.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004564/0.2217, allocations: 16 kB / 0.6366 GB, free: 15.41 MB / 494.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 (3): * Single equations (assignments): 3 * 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.001122/0.2229, allocations: 0.7552 MB / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006056/0.2235, allocations: 75.92 kB / 0.6374 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2235, allocations: 4 kB / 0.6374 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002828/0.2238, allocations: 43.89 kB / 0.6374 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.2243, allocations: 9.812 kB / 0.6374 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008246/0.2251, allocations: 179.2 kB / 0.6376 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.2255, allocations: 0.6846 MB / 0.6383 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.368e-05/0.2256, allocations: 12 kB / 0.6383 GB, free: 13.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.922e-05/0.2257, allocations: 15.44 kB / 0.6383 GB, free: 13.54 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2257, allocations: 0 / 0.6383 GB, free: 13.54 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.232/1.458, allocations: 1.896 MB / 0.6402 GB, free: 11.72 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/15.27, allocations: 7.438 kB / 0.6402 GB, free: 11.71 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe 2>&1)