Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_dev_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.001295/0.001295, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001119/0.001119, allocations: 191.9 kB / 16.25 MB, free: 6.621 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.257/1.257, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8447/0.8447, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001244, allocations: 61.25 kB / 0.505 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1229, allocations: 80.93 MB / 0.584 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.3597/0.4826, allocations: 168 MB / 0.7481 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005418/0.4881, allocations: 5.95 MB / 0.7539 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003005/0.4884, allocations: 9.562 kB / 0.7539 GB, free: 14.48 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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/IDEAS 3.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/IDEAS 3.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/IDEAS 3.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.0005694/0.489, allocations: 166.5 kB / 0.7541 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.4893, allocations: 72.56 kB / 0.7541 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.4904, allocations: 493.9 kB / 0.7546 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004585/0.4909, allocations: 410.2 kB / 0.755 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.4911, allocations: 141.7 kB / 0.7551 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003025/0.4915, allocations: 188.1 kB / 0.7553 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.4917, allocations: 156.2 kB / 0.7555 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.4917, allocations: 17.78 kB / 0.7555 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006606/0.4924, allocations: 471.2 kB / 0.7559 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.144e-05/0.4925, allocations: 65.05 kB / 0.756 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.4926, allocations: 109.7 kB / 0.7561 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005643/0.4931, allocations: 470.5 kB / 0.7565 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4932, allocations: 4 kB / 0.7565 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.143e-06/0.4932, allocations: 0 / 0.7565 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.4932, allocations: 0 / 0.7565 GB, free: 12.62 MB / 0.5762 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.0005466/0.4937, allocations: 0.5201 MB / 0.757 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4938, allocations: 15.97 kB / 0.7571 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.785e-05/0.4938, allocations: 62.55 kB / 0.7571 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.4941, allocations: 43.69 kB / 0.7572 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.4944, allocations: 254.6 kB / 0.7574 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.4945, allocations: 139.3 kB / 0.7575 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.4945, allocations: 23.94 kB / 0.7576 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.4949, allocations: 294.8 kB / 0.7578 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.4949, allocations: 0 / 0.7578 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.495, allocations: 8 kB / 0.7578 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.495, allocations: 4 kB / 0.7579 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.4952, allocations: 160.6 kB / 0.758 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.4965, allocations: 1.587 MB / 0.7596 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.262e-05/0.4965, allocations: 173.1 kB / 0.7597 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.4966, allocations: 80.14 kB / 0.7598 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.4966, allocations: 75.28 kB / 0.7599 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.4966, allocations: 113.8 kB / 0.76 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.4967, allocations: 0 / 0.76 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.219e-05/0.4967, allocations: 53.36 kB / 0.76 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.4968, allocations: 126.7 kB / 0.7601 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.4971, allocations: 306.7 kB / 0.7604 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.4971, allocations: 25.7 kB / 0.7605 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4973, allocations: 195.1 kB / 0.7607 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.4973, allocations: 0 / 0.7607 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.4973, allocations: 49.61 kB / 0.7607 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.639e-05/0.4974, allocations: 330.8 kB / 0.761 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.941e-05/0.4975, allocations: 35.98 kB / 0.761 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.4977, allocations: 161.1 kB / 0.7612 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.4979, allocations: 200.9 kB / 0.7614 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4979, allocations: 4 kB / 0.7614 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003606/0.4983, allocations: 221.5 kB / 0.7616 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4983, allocations: 7.938 kB / 0.7616 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4983, allocations: 8 kB / 0.7616 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4984, allocations: 4 kB / 0.7616 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.4985, allocations: 35.92 kB / 0.7617 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.4985, allocations: 8 kB / 0.7617 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.4987, allocations: 27.69 kB / 0.7617 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.4987, allocations: 12 kB / 0.7617 GB, free: 6.883 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.0001296/0.4988, allocations: 221 kB / 0.7619 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.4989, allocations: 140.6 kB / 0.7621 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.965e-05/0.499, allocations: 121.8 kB / 0.7622 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-05/0.4991, allocations: 181 kB / 0.7623 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.904e-05/0.4991, allocations: 180.2 kB / 0.7625 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.074e-05/0.4992, allocations: 176.3 kB / 0.7627 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.4995, allocations: 489.1 kB / 0.7631 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/0.4995, allocations: 105 kB / 0.7632 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.06e-05/0.4995, allocations: 112 kB / 0.7634 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-05/0.4996, allocations: 176.3 kB / 0.7635 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/0.4996, allocations: 176.3 kB / 0.7637 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.185e-05/0.4997, allocations: 188.2 kB / 0.7639 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.996e-05/0.4998, allocations: 180.3 kB / 0.764 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.4999, allocations: 319.6 kB / 0.7643 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.5, allocations: 209.7 kB / 0.7645 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.169e-05/0.5001, allocations: 188.2 kB / 0.7647 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.5002, allocations: 105 kB / 0.7648 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.5003, allocations: 192.1 kB / 0.765 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.5003, allocations: 105 kB / 0.7651 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002102/0.5005, allocations: 213.9 kB / 0.7653 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5006, allocations: 4 kB / 0.7653 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003234/0.5009, allocations: 51.92 kB / 0.7654 GB, free: 2.91 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.0004987/0.5014, allocations: 0.8631 MB / 0.7662 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.5016, allocations: 79.77 kB / 0.7663 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5016, allocations: 0 / 0.7663 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.5016, allocations: 1.25 kB / 0.7663 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.502, allocations: 487.3 kB / 0.7668 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.5043, allocations: 2.568 MB / 0.7693 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.5046, allocations: 0.7362 MB / 0.77 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001435/0.5047, allocations: 37 kB / 0.77 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.761e-05/0.5048, allocations: 55.41 kB / 0.7701 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.5048, allocations: 0 / 0.7701 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2532/0.758, allocations: 3.886 MB / 0.7739 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.7583, allocations: 194.7 kB / 0.774 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.559, allocations: 3.375 kB / 0.7741 GB, free: 9.871 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)