Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.005478/0.005478, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001696/0.001696, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8264/0.8264, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 61.97 kB / 0.5852 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1772, allocations: 80.93 MB / 0.6642 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6012/0.7784, allocations: 174 MB / 0.8341 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009955/0.7884, allocations: 9.519 MB / 0.8434 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004192/0.7889, allocations: 11.19 kB / 0.8435 GB, free: 3.098 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 (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/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 (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/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.0007865/0.7897, allocations: 191.4 kB / 0.8436 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.7902, allocations: 102.2 kB / 0.8437 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.7904, allocations: 59.3 kB / 0.8438 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004559/0.7909, allocations: 330.4 kB / 0.8441 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.7913, allocations: 203.6 kB / 0.8443 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003743/0.7916, allocations: 169.8 kB / 0.8445 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.7918, allocations: 120.8 kB / 0.8446 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.7919, allocations: 22.72 kB / 0.8446 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.588e-05/0.7919, allocations: 20.53 kB / 0.8446 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.633e-05/0.792, allocations: 82.03 kB / 0.8447 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.7922, allocations: 119.7 kB / 0.8448 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.7925, allocations: 300.7 kB / 0.8451 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7925, allocations: 0 / 0.8451 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7925, allocations: 0 / 0.8451 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.7925, allocations: 0 / 0.8451 GB, free: 1.957 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005751/0.7931, allocations: 0.5168 MB / 0.8456 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.7931, allocations: 8.422 kB / 0.8456 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.605e-05/0.7932, allocations: 60.14 kB / 0.8457 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.7933, allocations: 35.06 kB / 0.8457 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.7937, allocations: 276.6 kB / 0.846 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.7938, allocations: 18.66 kB / 0.846 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.7938, allocations: 25.5 kB / 0.846 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/0.7943, allocations: 323.1 kB / 0.8463 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.7943, allocations: 6.562 kB / 0.8463 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.7943, allocations: 13.84 kB / 0.8463 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.7944, allocations: 11.75 kB / 0.8463 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.7946, allocations: 138.2 kB / 0.8465 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.7959, allocations: 1.816 MB / 0.8483 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 8.689e-05/0.796, allocations: 177.1 kB / 0.8484 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.7961, allocations: 80.14 kB / 0.8485 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.7961, allocations: 79.22 kB / 0.8486 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.7962, allocations: 108.4 kB / 0.8487 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.7962, allocations: 0 / 0.8487 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 0.0001008/0.7963, allocations: 53.92 kB / 0.8487 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.7963, allocations: 126.7 kB / 0.8488 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.7967, allocations: 373 kB / 0.8492 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.7967, allocations: 29.75 kB / 0.8492 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.7969, allocations: 178.5 kB / 0.8494 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-06/0.7969, allocations: 0 / 0.8494 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.7969, allocations: 19 kB / 0.8494 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.797, allocations: 342.5 kB / 0.8497 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.7971, allocations: 2.75 kB / 0.8497 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.342e-05/0.7971, allocations: 43.53 kB / 0.8498 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.319e-05/0.7972, allocations: 43.7 kB / 0.8498 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.7972, allocations: 3.938 kB / 0.8498 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001535/0.7973, allocations: 85.72 kB / 0.8499 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.7974, allocations: 10.72 kB / 0.8499 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7974, allocations: 2.531 kB / 0.8499 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.7974, allocations: 0 / 0.8499 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.147e-05/0.7975, allocations: 19.94 kB / 0.8499 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.7975, allocations: 6.656 kB / 0.85 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.949e-05/0.7976, allocations: 23.31 kB / 0.85 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.7976, allocations: 2.438 kB / 0.85 GB, free: 13.37 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001305/0.7977, allocations: 213.2 kB / 0.8502 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.606e-05/0.7978, allocations: 133.6 kB / 0.8503 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.49e-05/0.7979, allocations: 128.8 kB / 0.8504 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.517e-05/0.798, allocations: 182.7 kB / 0.8506 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.206e-05/0.798, allocations: 180.2 kB / 0.8508 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.249e-05/0.7981, allocations: 182.4 kB / 0.851 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.7985, allocations: 494 kB / 0.8514 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.106e-05/0.7985, allocations: 101 kB / 0.8515 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.429e-05/0.7986, allocations: 103.2 kB / 0.8516 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.094e-05/0.7986, allocations: 184.2 kB / 0.8518 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.016e-05/0.7987, allocations: 187.4 kB / 0.852 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.038e-05/0.7988, allocations: 189.1 kB / 0.8522 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.645e-05/0.7989, allocations: 176.3 kB / 0.8523 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.799, allocations: 337.1 kB / 0.8526 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.7992, allocations: 205.2 kB / 0.8528 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.7992, allocations: 184.2 kB / 0.853 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.7994, allocations: 103.5 kB / 0.8531 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.7994, allocations: 180.2 kB / 0.8533 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.7995, allocations: 104.8 kB / 0.8534 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002623/0.7997, allocations: 274.3 kB / 0.8536 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7997, allocations: 3.938 kB / 0.8537 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002617/0.8, allocations: 36.25 kB / 0.8537 GB, free: 9.574 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.0004034/0.8004, allocations: 0.8332 MB / 0.8545 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 7.726e-05/0.8005, allocations: 22.22 kB / 0.8545 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8005, allocations: 0 / 0.8545 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.8005, allocations: 3.938 kB / 0.8545 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007954/0.8013, allocations: 0.547 MB / 0.8551 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.804, allocations: 2.68 MB / 0.8577 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.8044, allocations: 0.7596 MB / 0.8584 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.8045, allocations: 32.02 kB / 0.8584 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.092e-05/0.8046, allocations: 75.64 kB / 0.8585 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.8046, allocations: 0 / 0.8585 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.8276, allocations: 5.894 MB / 0.8643 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.811, allocations: 20.14 kB / 0.8643 GB, free: 2 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)