Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",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.000963/0.0009628, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009963/0.0009962, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9511/0.9511, allocations: 143.4 MB / 434.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003137, allocations: 8 kB / 0.5161 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1698, allocations: 83.41 MB / 0.5975 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.001318/0.1712, allocations: 1.048 MB / 0.5986 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4328/0.604, allocations: 134.5 MB / 0.7299 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.456e-05/0.6041, allocations: 1.406 kB / 0.7299 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.6041, allocations: 3.328 kB / 0.7299 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.6042, allocations: 24.95 kB / 0.7299 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007753/0.605, allocations: 213.3 kB / 0.7301 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.6052, allocations: 75.83 kB / 0.7302 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.636e-05/0.6052, allocations: 6.438 kB / 0.7302 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.267e-05/0.6053, allocations: 32.47 kB / 0.7302 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.6054, allocations: 36.3 kB / 0.7302 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.6054, allocations: 7.094 kB / 0.7302 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006758/0.6061, allocations: 249 kB / 0.7305 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.6061, allocations: 17.11 kB / 0.7305 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.6062, allocations: 32.97 kB / 0.7305 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.6064, allocations: 105.6 kB / 0.7306 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6064, allocations: 0 / 0.7306 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6064, allocations: 4 kB / 0.7306 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.6064, allocations: 1.156 kB / 0.7306 GB, free: 14.24 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004333/0.6069, allocations: 371.5 kB / 0.731 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.6069, allocations: 14.8 kB / 0.731 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.383e-05/0.607, allocations: 34.2 kB / 0.731 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004016/0.6074, allocations: 38.81 kB / 0.7311 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.6075, allocations: 161.4 kB / 0.7312 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.6075, allocations: 9.391 kB / 0.7312 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.6076, allocations: 17.89 kB / 0.7312 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.6078, allocations: 75.95 kB / 0.7313 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.6078, allocations: 5.188 kB / 0.7313 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.6078, allocations: 5.25 kB / 0.7313 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6078, allocations: 2.25 kB / 0.7313 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.6079, allocations: 41.84 kB / 0.7314 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.6081, allocations: 191.4 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.6083, allocations: 89.98 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.6084, allocations: 31.72 kB / 0.7317 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/0.6087, allocations: 178.5 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.6087, allocations: 36.81 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.6087, allocations: 0 / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001545/0.6103, allocations: 0.5419 MB / 0.7324 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.6103, allocations: 54.56 kB / 0.7325 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.719e-05/0.6104, allocations: 97.84 kB / 0.7326 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.6105, allocations: 31.84 kB / 0.7326 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.6105, allocations: 81.73 kB / 0.7327 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.6106, allocations: 76.23 kB / 0.7327 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.6107, allocations: 8 kB / 0.7327 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.6108, allocations: 323.1 kB / 0.733 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.503e-05/0.6109, allocations: 37.69 kB / 0.7331 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.611, allocations: 65.81 kB / 0.7331 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.287e-05/0.6112, allocations: 47.64 kB / 0.7332 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.6112, allocations: 0 / 0.7332 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002812/0.6114, allocations: 152.1 kB / 0.7333 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.6115, allocations: 5.188 kB / 0.7333 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6115, allocations: 1.906 kB / 0.7333 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.6115, allocations: 2.469 kB / 0.7333 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.6117, allocations: 40.17 kB / 0.7334 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.6117, allocations: 1.219 kB / 0.7334 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.6118, allocations: 7.156 kB / 0.7334 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.6118, allocations: 10.19 kB / 0.7334 GB, free: 11.86 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.0001411/0.612, allocations: 126.7 kB / 0.7335 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.612, allocations: 9.953 kB / 0.7335 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/0.6121, allocations: 16.44 kB / 0.7335 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6121, allocations: 3.188 kB / 0.7336 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.6121, allocations: 0.9375 kB / 0.7336 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.6121, allocations: 1.125 kB / 0.7336 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.6124, allocations: 192.2 kB / 0.7337 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6124, allocations: 2.531 kB / 0.7337 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.6126, allocations: 47.17 kB / 0.7338 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.6126, allocations: 1.625 kB / 0.7338 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.6127, allocations: 1.562 kB / 0.7338 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.6127, allocations: 1.188 kB / 0.7338 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6127, allocations: 0.8438 kB / 0.7338 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.6131, allocations: 213.9 kB / 0.734 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.269e-05/0.6132, allocations: 90.75 kB / 0.7341 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.6133, allocations: 6.828 kB / 0.7341 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.6134, allocations: 14.64 kB / 0.7341 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.6134, allocations: 9.875 kB / 0.7341 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.6134, allocations: 9.547 kB / 0.7341 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.208e-05/0.6135, allocations: 77.39 kB / 0.7342 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6135, allocations: 3.938 kB / 0.7342 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002522/0.6138, allocations: 25.91 kB / 0.7342 GB, free: 11.18 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0007833/0.6145, allocations: 0.7507 MB / 0.735 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.6148, allocations: 105.8 kB / 0.7351 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6148, allocations: 0 / 0.7351 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.021e-05/0.6149, allocations: 52.69 kB / 0.7351 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.6151, allocations: 21.95 kB / 0.7351 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.6167, allocations: 1.011 MB / 0.7361 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.617, allocations: 0.6989 MB / 0.7368 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001349/0.6171, allocations: 28.42 kB / 0.7368 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.6172, allocations: 21.81 kB / 0.7368 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of SimCode: time 4.8e-07/0.6172, allocations: 1.219 kB / 0.7368 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01267/0.6299, allocations: 2.13 MB / 0.7389 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/0.63, allocations: 192.6 kB / 0.7391 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.356, allocations: 6.047 kB / 0.7391 GB, free: 8.605 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: