Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001389, allocations: 114.7 kB / 16.42 MB, free: 6.492 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.001145/0.001145, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.384/1.384, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002185/0.002186, allocations: 300.9 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9922/0.9922, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 95.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.51/0.5119, allocations: 86.98 MB / 0.7671 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1844/0.6964, allocations: 170.3 MB / 0.9334 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006379/0.7028, allocations: 5.995 MB / 0.9392 GB, free: 2.777 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003597/0.7032, allocations: 7.938 kB / 0.9392 GB, free: 2.77 MB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007459/0.704, allocations: 194.7 kB / 0.9394 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.7044, allocations: 87.44 kB / 0.9395 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.7057, allocations: 0.5372 MB / 0.94 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0005975/0.7063, allocations: 418.8 kB / 0.9404 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.7066, allocations: 135.6 kB / 0.9406 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.7069, allocations: 195.3 kB / 0.9408 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.7072, allocations: 147.4 kB / 0.9409 GB, free: 1.07 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.7072, allocations: 20 kB / 0.9409 GB, free: 1.051 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007842/0.708, allocations: 458.8 kB / 0.9414 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 9.248e-05/0.7081, allocations: 71.8 kB / 0.9414 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.7083, allocations: 107.5 kB / 0.9415 GB, free: 436 kB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0006303/0.7089, allocations: 453.1 kB / 0.942 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7089, allocations: 0 / 0.942 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7089, allocations: 0 / 0.942 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.7089, allocations: 0 / 0.942 GB, free: 15.98 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006019/0.7095, allocations: 0.5223 MB / 0.9425 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.7096, allocations: 12.03 kB / 0.9425 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.7099, allocations: 39.7 kB / 0.9425 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.7103, allocations: 269.2 kB / 0.9428 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.7104, allocations: 131.4 kB / 0.9429 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.7105, allocations: 24 kB / 0.9429 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.7109, allocations: 294.8 kB / 0.9432 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.7109, allocations: 3.938 kB / 0.9432 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.711, allocations: 12 kB / 0.9432 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.711, allocations: 4 kB / 0.9432 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.7113, allocations: 160.6 kB / 0.9434 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.7127, allocations: 1.575 MB / 0.9449 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.523e-05/0.7128, allocations: 169.1 kB / 0.9451 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.7129, allocations: 84.08 kB / 0.9452 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.7129, allocations: 75.28 kB / 0.9452 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.7129, allocations: 113.8 kB / 0.9453 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/0.713, allocations: 0 / 0.9453 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001082/0.7131, allocations: 45.45 kB / 0.9454 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.7131, allocations: 55.39 kB / 0.9454 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.7135, allocations: 310.5 kB / 0.9457 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.7135, allocations: 29.7 kB / 0.9458 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.7136, allocations: 187.1 kB / 0.9459 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.422e-06/0.7137, allocations: 11.94 kB / 0.9459 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.52e-05/0.7137, allocations: 41.7 kB / 0.946 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.7139, allocations: 334.8 kB / 0.9463 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.947e-05/0.714, allocations: 39.91 kB / 0.9463 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.7141, allocations: 153.2 kB / 0.9465 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.7144, allocations: 192.9 kB / 0.9467 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.7144, allocations: 4 kB / 0.9467 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004339/0.7148, allocations: 225.4 kB / 0.9469 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.7149, allocations: 12.09 kB / 0.9469 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.7149, allocations: 7.938 kB / 0.9469 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.7149, allocations: 8 kB / 0.9469 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.7151, allocations: 35.92 kB / 0.9469 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.7151, allocations: 11.94 kB / 0.947 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.7153, allocations: 31.67 kB / 0.947 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.7153, allocations: 12 kB / 0.947 GB, free: 10.38 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001556/0.7155, allocations: 213 kB / 0.9472 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.629e-05/0.7156, allocations: 132.7 kB / 0.9473 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.729e-05/0.7157, allocations: 125.8 kB / 0.9475 GB, free: 9.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-05/0.7158, allocations: 188.2 kB / 0.9476 GB, free: 9.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.144e-05/0.7158, allocations: 105 kB / 0.9477 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.716, allocations: 205.8 kB / 0.9479 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.7161, allocations: 180.3 kB / 0.9481 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.7162, allocations: 105 kB / 0.9482 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.7163, allocations: 188.2 kB / 0.9484 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.343e-05/0.7164, allocations: 251.5 kB / 0.9486 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001676/0.7165, allocations: 398.8 kB / 0.949 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.782e-05/0.7166, allocations: 108.9 kB / 0.9491 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000225/0.7168, allocations: 225.9 kB / 0.9493 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of Backend: time 4.61e-07/0.7168, allocations: 0 / 0.9493 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007787/0.7176, allocations: 250.5 kB / 0.9496 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of SimCode: time 0.0009787/0.7186, allocations: 1.11 MB / 0.9506 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of Templates: time 0.006953/0.7256, allocations: 3.229 MB / 0.9538 GB, free: 3.254 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)