Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.007089/0.007089, allocations: 95.91 kB / 15.73 MB, free: 6.047 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.001574/0.001574, allocations: 198.8 kB / 16.68 MB, free: 5.957 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8645/0.8645, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001234, allocations: 64.03 kB / 0.5851 GB, free: 22.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1692, allocations: 80.91 MB / 0.6641 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.604/0.7733, allocations: 174 MB / 0.8341 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.7843, allocations: 9.508 MB / 0.8434 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/0.7849, allocations: 11.81 kB / 0.8434 GB, free: 3.27 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82: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/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) 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/InletToAir.mo:80:3-82: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/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001031/0.7859, allocations: 195.5 kB / 0.8436 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005102/0.7864, allocations: 96.02 kB / 0.8436 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.7867, allocations: 59.52 kB / 0.8437 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007065/0.7874, allocations: 321.6 kB / 0.844 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.7879, allocations: 144.7 kB / 0.8441 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005343/0.7884, allocations: 160.6 kB / 0.8443 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.7886, allocations: 98.72 kB / 0.8444 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.7886, allocations: 15.38 kB / 0.8444 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.68e-05/0.7887, allocations: 14.66 kB / 0.8444 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.257e-05/0.7888, allocations: 47.75 kB / 0.8445 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.7889, allocations: 100 kB / 0.8446 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.7892, allocations: 214 kB / 0.8448 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7892, allocations: 0 / 0.8448 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7892, allocations: 0 / 0.8448 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.7893, allocations: 0 / 0.8448 GB, free: 2.277 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005841/0.7898, allocations: 476.3 kB / 0.8452 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.7899, allocations: 10.8 kB / 0.8452 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.249e-05/0.79, allocations: 57.88 kB / 0.8453 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/0.7901, allocations: 25.53 kB / 0.8453 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.7905, allocations: 261.5 kB / 0.8456 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.7906, allocations: 11.88 kB / 0.8456 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.7906, allocations: 22.91 kB / 0.8456 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.791, allocations: 239.5 kB / 0.8458 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.791, allocations: 0 / 0.8458 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.791, allocations: 6.469 kB / 0.8458 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.791, allocations: 7.75 kB / 0.8458 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.7912, allocations: 89.19 kB / 0.8459 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.7925, allocations: 1.433 MB / 0.8473 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.7926, allocations: 175.4 kB / 0.8475 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.02e-05/0.7926, allocations: 80.14 kB / 0.8476 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.7927, allocations: 79.22 kB / 0.8476 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.642e-05/0.7928, allocations: 113.8 kB / 0.8477 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.7928, allocations: 6.844 kB / 0.8478 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 0.0001255/0.7929, allocations: 47.55 kB / 0.8478 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/0.793, allocations: 126.7 kB / 0.8479 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.7934, allocations: 289.3 kB / 0.8482 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.7934, allocations: 25.7 kB / 0.8482 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.7935, allocations: 144.2 kB / 0.8484 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.548e-06/0.7935, allocations: 4 kB / 0.8484 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.7936, allocations: 20.47 kB / 0.8484 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.7937, allocations: 331.4 kB / 0.8487 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.7938, allocations: 6.984 kB / 0.8487 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.7938, allocations: 36.05 kB / 0.8487 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.086e-05/0.7939, allocations: 32.47 kB / 0.8488 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.7939, allocations: 2.75 kB / 0.8488 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001613/0.794, allocations: 71.97 kB / 0.8488 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.7941, allocations: 4.875 kB / 0.8488 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.7941, allocations: 2.219 kB / 0.8488 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.7941, allocations: 4.125 kB / 0.8489 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.7942, allocations: 9.625 kB / 0.8489 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.7942, allocations: 3.984 kB / 0.8489 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.7943, allocations: 27.62 kB / 0.8489 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-06/0.7943, allocations: 0 / 0.8489 GB, free: 14.27 MB / 0.6231 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 (4): * Single equations (assignments): 4 * 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.0001423/0.7944, allocations: 202.4 kB / 0.8491 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.002e-05/0.7945, allocations: 120.5 kB / 0.8492 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.518e-05/0.7946, allocations: 121.7 kB / 0.8493 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.878e-05/0.7947, allocations: 186.5 kB / 0.8495 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-05/0.7948, allocations: 180.3 kB / 0.8497 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.424e-05/0.7949, allocations: 188.2 kB / 0.8498 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.7952, allocations: 468.6 kB / 0.8503 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.024e-05/0.7953, allocations: 101 kB / 0.8504 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.7953, allocations: 112.9 kB / 0.8505 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-05/0.7954, allocations: 179 kB / 0.8507 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.513e-05/0.7955, allocations: 184.2 kB / 0.8508 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.95e-05/0.7956, allocations: 180.3 kB / 0.851 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.656e-05/0.7957, allocations: 181 kB / 0.8512 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.7959, allocations: 332.2 kB / 0.8515 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.796, allocations: 206.3 kB / 0.8517 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.7961, allocations: 179.1 kB / 0.8519 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.7963, allocations: 105 kB / 0.852 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.008e-05/0.7964, allocations: 180.2 kB / 0.8521 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/0.7964, allocations: 111.7 kB / 0.8523 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002654/0.7967, allocations: 206.8 kB / 0.8524 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7967, allocations: 0 / 0.8524 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002761/0.797, allocations: 26.53 kB / 0.8525 GB, free: 10.55 MB / 0.6231 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.0005136/0.7975, allocations: 0.8317 MB / 0.8533 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.033e-05/0.7976, allocations: 11.19 kB / 0.8533 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7976, allocations: 0 / 0.8533 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.7976, allocations: 0 / 0.8533 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008488/0.7985, allocations: 0.5311 MB / 0.8538 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.801, allocations: 2.22 MB / 0.856 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.8014, allocations: 0.7217 MB / 0.8567 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.8015, allocations: 28.2 kB / 0.8567 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.397e-05/0.8016, allocations: 52.8 kB / 0.8568 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of SimCode: time 9.22e-07/0.8016, allocations: 0 / 0.8568 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.8296, allocations: 4.741 MB / 0.8614 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.747, allocations: 9.5 kB / 0.8614 GB, free: 4.266 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)