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.001015/0.001015, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001533/0.001533, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9007/0.9007, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 9.406 kB / 0.5069 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1871, allocations: 82.3 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5143/0.7014, allocations: 145.3 MB / 0.7292 GB, free: 5.023 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008471/0.7099, allocations: 7.449 MB / 0.7365 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003416/0.7103, allocations: 9 kB / 0.7365 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.7106, allocations: 54.58 kB / 0.7365 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.711, allocations: 124.5 kB / 0.7366 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.7112, allocations: 44.7 kB / 0.7367 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005769/0.7117, allocations: 313.1 kB / 0.737 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003069/0.7121, allocations: 138.6 kB / 0.7371 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000345/0.7124, allocations: 126.2 kB / 0.7372 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.7125, allocations: 67.05 kB / 0.7373 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.7126, allocations: 2.719 kB / 0.7373 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.368e-05/0.7126, allocations: 5.094 kB / 0.7373 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.709e-05/0.7127, allocations: 47.39 kB / 0.7373 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.612e-05/0.7127, allocations: 74.39 kB / 0.7374 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.713, allocations: 212.8 kB / 0.7376 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.7131, allocations: 0 / 0.7376 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.506e-06/0.7131, allocations: 0 / 0.7376 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.7131, allocations: 0 / 0.7376 GB, free: 15.2 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006108/0.7137, allocations: 480.3 kB / 0.7381 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.7138, allocations: 8 kB / 0.7381 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/0.7139, allocations: 63.78 kB / 0.7381 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.7139, allocations: 25.66 kB / 0.7382 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.7143, allocations: 267.2 kB / 0.7384 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.7143, allocations: 18.88 kB / 0.7384 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.7144, allocations: 30.25 kB / 0.7385 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/0.7149, allocations: 312.5 kB / 0.7388 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.715, allocations: 4.594 kB / 0.7388 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.715, allocations: 13.66 kB / 0.7388 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.715, allocations: 11.47 kB / 0.7388 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.7153, allocations: 137.2 kB / 0.7389 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.7169, allocations: 1.817 MB / 0.7407 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.608e-05/0.717, allocations: 172.7 kB / 0.7409 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.717, allocations: 79.27 kB / 0.7409 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.7171, allocations: 110.5 kB / 0.7411 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/0.7171, allocations: 0 / 0.7411 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0001057/0.7172, allocations: 60.48 kB / 0.7411 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.7173, allocations: 127.4 kB / 0.7412 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.7177, allocations: 369.3 kB / 0.7416 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.7177, allocations: 25.7 kB / 0.7416 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.7178, allocations: 173.4 kB / 0.7418 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-06/0.7178, allocations: 0 / 0.7418 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.7179, allocations: 4 kB / 0.7418 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.718, allocations: 339.2 kB / 0.7421 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.424e-05/0.718, allocations: 3.531 kB / 0.7421 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.027e-05/0.7181, allocations: 34.47 kB / 0.7421 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.089e-05/0.7181, allocations: 18.02 kB / 0.7422 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.7181, allocations: 2.938 kB / 0.7422 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001377/0.7182, allocations: 82.92 kB / 0.7422 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.7183, allocations: 5.094 kB / 0.7422 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7183, allocations: 0.6094 kB / 0.7422 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.7183, allocations: 3.25 kB / 0.7422 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.195e-05/0.7184, allocations: 10.84 kB / 0.7423 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.7184, allocations: 6.172 kB / 0.7423 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.159e-05/0.7184, allocations: 35.78 kB / 0.7423 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.7185, allocations: 0.8438 kB / 0.7423 GB, free: 11.12 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.7186, allocations: 210.6 kB / 0.7425 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/0.7187, allocations: 133.7 kB / 0.7426 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.7187, allocations: 126.8 kB / 0.7427 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.086e-05/0.7188, allocations: 180.9 kB / 0.7429 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.247e-05/0.7189, allocations: 188 kB / 0.7431 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.193e-05/0.7189, allocations: 176.8 kB / 0.7433 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.7192, allocations: 493.1 kB / 0.7437 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/0.7193, allocations: 101.5 kB / 0.7438 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.94e-05/0.7193, allocations: 105.5 kB / 0.7439 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-05/0.7194, allocations: 191.9 kB / 0.7441 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/0.7194, allocations: 181.3 kB / 0.7443 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.838e-05/0.7195, allocations: 184.9 kB / 0.7445 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.871e-05/0.7195, allocations: 180.3 kB / 0.7446 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.7197, allocations: 335.7 kB / 0.745 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.7198, allocations: 210.3 kB / 0.7452 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-05/0.7199, allocations: 185.4 kB / 0.7453 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.72, allocations: 104.3 kB / 0.7454 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.7201, allocations: 180.8 kB / 0.7456 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/0.7201, allocations: 105.6 kB / 0.7457 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002963/0.7204, allocations: 269.5 kB / 0.746 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7204, allocations: 4 kB / 0.746 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002872/0.7207, allocations: 28.59 kB / 0.746 GB, free: 7.422 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004763/0.7212, allocations: 0.8313 MB / 0.7468 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.061e-05/0.7213, allocations: 17.72 kB / 0.7468 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7213, allocations: 3.938 kB / 0.7468 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.737e-06/0.7213, allocations: 2.906 kB / 0.7468 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000928/0.7223, allocations: 0.6252 MB / 0.7474 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.7242, allocations: 1.998 MB / 0.7494 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.7245, allocations: 0.7576 MB / 0.7501 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.7247, allocations: 35.95 kB / 0.7502 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.917e-05/0.7248, allocations: 72.89 kB / 0.7502 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of SimCode: time 7.31e-07/0.7248, allocations: 0 / 0.7502 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.7401, allocations: 5.466 MB / 0.7556 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.7404, allocations: 187.8 kB / 0.7558 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.519, allocations: 0 / 0.7558 GB, free: 15.41 MB / 0.5762 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/linux/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) Environment - environmentSimulation: