Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",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.001127/0.001127, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001129/0.001129, allocations: 193.6 kB / 16.14 MB, free: 6.66 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.235/1.235, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7402/0.7402, allocations: 132.2 MB / 422.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001147, allocations: 64.28 kB / 0.5012 GB, free: 9.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1351, allocations: 80.2 MB / 0.5795 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.3789/0.514, allocations: 168 MB / 0.7436 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005672/0.5197, allocations: 5.989 MB / 0.7495 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.5199, allocations: 9.125 kB / 0.7495 GB, free: 3.348 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/IDEAS 3.0.0/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/IDEAS 3.0.0/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/IDEAS 3.0.0/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.0005515/0.5205, allocations: 162.1 kB / 0.7496 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.5207, allocations: 75.03 kB / 0.7497 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009999/0.5217, allocations: 492.1 kB / 0.7502 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.5221, allocations: 475.2 kB / 0.7506 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.5224, allocations: 138.2 kB / 0.7508 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.5226, allocations: 170.8 kB / 0.7509 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.5228, allocations: 151.2 kB / 0.7511 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.5228, allocations: 12.44 kB / 0.7511 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007242/0.5236, allocations: 0.5194 MB / 0.7516 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.381e-05/0.5236, allocations: 65.47 kB / 0.7516 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.2e-05/0.5237, allocations: 102.4 kB / 0.7517 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005263/0.5243, allocations: 455.8 kB / 0.7522 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5243, allocations: 4 kB / 0.7522 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.72e-07/0.5243, allocations: 0 / 0.7522 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.5243, allocations: 0 / 0.7522 GB, free: 1.582 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005297/0.5248, allocations: 0.5268 MB / 0.7527 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.5249, allocations: 10.09 kB / 0.7527 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.144e-05/0.5249, allocations: 64.83 kB / 0.7528 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002463/0.5252, allocations: 40.61 kB / 0.7528 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.5255, allocations: 259.5 kB / 0.753 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.5256, allocations: 130.3 kB / 0.7532 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.5256, allocations: 27.06 kB / 0.7532 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.526, allocations: 294.2 kB / 0.7535 GB, free: 368 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.5261, allocations: 6.875 kB / 0.7535 GB, free: 364 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.5261, allocations: 11.41 kB / 0.7535 GB, free: 356 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.5261, allocations: 4.344 kB / 0.7535 GB, free: 356 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.5264, allocations: 160.5 kB / 0.7537 GB, free: 280 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.5276, allocations: 1.584 MB / 0.7552 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.653e-05/0.5277, allocations: 165.1 kB / 0.7554 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.5277, allocations: 86.23 kB / 0.7554 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.5277, allocations: 75.28 kB / 0.7555 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.5278, allocations: 117.8 kB / 0.7556 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.5278, allocations: 0 / 0.7556 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.165e-05/0.5279, allocations: 50.23 kB / 0.7557 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.5279, allocations: 128.1 kB / 0.7558 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.5282, allocations: 300.4 kB / 0.7561 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.5283, allocations: 29.64 kB / 0.7561 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.5284, allocations: 192.4 kB / 0.7563 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.041e-06/0.5284, allocations: 14.67 kB / 0.7563 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.788e-05/0.5285, allocations: 43.61 kB / 0.7564 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.5286, allocations: 329.5 kB / 0.7567 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.502e-05/0.5287, allocations: 38.44 kB / 0.7567 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.5288, allocations: 155.2 kB / 0.7568 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.529, allocations: 207.1 kB / 0.757 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.529, allocations: 0 / 0.757 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003762/0.5294, allocations: 222.2 kB / 0.7573 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.5295, allocations: 5.562 kB / 0.7573 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5295, allocations: 4.938 kB / 0.7573 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.5295, allocations: 5.062 kB / 0.7573 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.5296, allocations: 39.55 kB / 0.7573 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.5297, allocations: 12.98 kB / 0.7573 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.5298, allocations: 30.09 kB / 0.7574 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.5299, allocations: 14.66 kB / 0.7574 GB, free: 12.73 MB / 0.5762 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.0001274/0.53, allocations: 222.9 kB / 0.7576 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.5301, allocations: 124.7 kB / 0.7577 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.011e-05/0.5301, allocations: 117.8 kB / 0.7578 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.402e-05/0.5302, allocations: 184.2 kB / 0.758 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.942e-05/0.5303, allocations: 180.3 kB / 0.7582 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.085e-05/0.5303, allocations: 180.2 kB / 0.7583 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.5306, allocations: 481.1 kB / 0.7588 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.675e-05/0.5306, allocations: 109 kB / 0.7589 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.181e-05/0.5307, allocations: 116.9 kB / 0.759 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.065e-05/0.5307, allocations: 176.3 kB / 0.7592 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.372e-05/0.5308, allocations: 184.2 kB / 0.7593 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-05/0.5308, allocations: 180.2 kB / 0.7595 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.726e-05/0.5309, allocations: 188.2 kB / 0.7597 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.531, allocations: 323.6 kB / 0.76 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.931e-05/0.5311, allocations: 209.7 kB / 0.7602 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.991e-05/0.5312, allocations: 180.3 kB / 0.7604 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.5313, allocations: 108.9 kB / 0.7605 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.5314, allocations: 180.2 kB / 0.7607 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.5314, allocations: 105 kB / 0.7608 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002187/0.5317, allocations: 221.9 kB / 0.761 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5317, allocations: 0 / 0.761 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003393/0.532, allocations: 47.94 kB / 0.761 GB, free: 8.773 MB / 0.5762 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 (0): * Single equations (assignments): 0 * 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.0005075/0.5325, allocations: 0.8708 MB / 0.7619 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.5327, allocations: 79.78 kB / 0.7619 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5327, allocations: 0 / 0.7619 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.5327, allocations: 1.25 kB / 0.7619 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.5332, allocations: 0.5457 MB / 0.7625 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.5356, allocations: 2.564 MB / 0.765 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.5359, allocations: 0.7359 MB / 0.7657 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.536, allocations: 36.34 kB / 0.7657 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.563e-05/0.5361, allocations: 63.36 kB / 0.7658 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.5361, allocations: 0 / 0.7658 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.5489, allocations: 3.799 MB / 0.7695 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.5491, allocations: 191.3 kB / 0.7697 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.22, allocations: 0 / 0.7697 GB, free: 15.71 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)