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.001161/0.00116, allocations: 100.5 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.001271/0.001271, 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.657/1.657, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.039/1.039, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003597, allocations: 12 kB / 0.5069 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2246, allocations: 82.3 MB / 0.5873 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.6596/0.8843, allocations: 143 MB / 0.7269 GB, free: 6.465 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005391/0.8897, allocations: 5.042 MB / 0.7318 GB, free: 2.934 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.89, allocations: 4.125 kB / 0.7318 GB, free: 2.934 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.8904, allocations: 91.84 kB / 0.7319 GB, free: 2.883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003635/0.8907, allocations: 135.7 kB / 0.732 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.8913, allocations: 199.8 kB / 0.7322 GB, free: 2.684 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.8918, allocations: 315.5 kB / 0.7325 GB, free: 2.523 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.892, allocations: 94.09 kB / 0.7326 GB, free: 2.492 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.8923, allocations: 149.7 kB / 0.7328 GB, free: 2.422 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.8925, allocations: 112.9 kB / 0.7329 GB, free: 2.371 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.8925, allocations: 6.375 kB / 0.7329 GB, free: 2.371 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.8927, allocations: 93.97 kB / 0.733 GB, free: 2.336 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.31e-05/0.8928, allocations: 48.48 kB / 0.733 GB, free: 2.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.518e-05/0.8929, allocations: 64 kB / 0.7331 GB, free: 2.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.8932, allocations: 211 kB / 0.7333 GB, free: 2.227 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.8932, allocations: 0 / 0.7333 GB, free: 2.227 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8932, allocations: 1.344 kB / 0.7333 GB, free: 2.227 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8932, allocations: 0 / 0.7333 GB, free: 2.227 MB / 0.545 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.0004726/0.8937, allocations: 472.5 kB / 0.7337 GB, free: 1.793 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.8937, allocations: 9.844 kB / 0.7337 GB, free: 1.793 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.222e-05/0.8938, allocations: 63.72 kB / 0.7338 GB, free: 1.734 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002466/0.8941, allocations: 43.03 kB / 0.7338 GB, free: 1.723 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.8943, allocations: 251 kB / 0.7341 GB, free: 1.488 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.8945, allocations: 133.5 kB / 0.7342 GB, free: 1.348 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.8945, allocations: 22.78 kB / 0.7342 GB, free: 1.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.895, allocations: 291.2 kB / 0.7345 GB, free: 1.141 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.895, allocations: 1.375 kB / 0.7345 GB, free: 1.141 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.895, allocations: 14.75 kB / 0.7345 GB, free: 1.129 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.895, allocations: 6.875 kB / 0.7345 GB, free: 1.129 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/0.8953, allocations: 160.8 kB / 0.7347 GB, free: 1.074 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.8966, allocations: 1.573 MB / 0.7362 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.298e-05/0.8967, allocations: 179.1 kB / 0.7364 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.8967, allocations: 75.28 kB / 0.7365 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.8967, allocations: 107.4 kB / 0.7366 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.8967, allocations: 0 / 0.7366 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.677e-05/0.8968, allocations: 42.58 kB / 0.7366 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.8969, allocations: 140.8 kB / 0.7367 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.8973, allocations: 307.6 kB / 0.737 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.8973, allocations: 25.7 kB / 0.7371 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.8974, allocations: 199.3 kB / 0.7372 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-06/0.8974, allocations: 0.5156 kB / 0.7372 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/0.8974, allocations: 6.281 kB / 0.7373 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.8975, allocations: 330.1 kB / 0.7376 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.254e-05/0.8976, allocations: 37.42 kB / 0.7376 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.8978, allocations: 158 kB / 0.7378 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.8979, allocations: 63.2 kB / 0.7378 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8979, allocations: 1.688 kB / 0.7378 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003703/0.8983, allocations: 219.6 kB / 0.738 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.8983, allocations: 6.844 kB / 0.738 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.8983, allocations: 4.875 kB / 0.738 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.8983, allocations: 5.188 kB / 0.738 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.8985, allocations: 38.91 kB / 0.7381 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.8985, allocations: 11.48 kB / 0.7381 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.8987, allocations: 33.66 kB / 0.7381 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.8987, allocations: 11.59 kB / 0.7381 GB, free: 14.05 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.8988, allocations: 216.4 kB / 0.7383 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/0.8989, allocations: 132.1 kB / 0.7385 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.596e-05/0.899, allocations: 120.6 kB / 0.7386 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.357e-05/0.8991, allocations: 181 kB / 0.7388 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.079e-05/0.8991, allocations: 183.8 kB / 0.7389 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.582e-05/0.8992, allocations: 180.9 kB / 0.7391 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.8995, allocations: 484.1 kB / 0.7396 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.538e-05/0.8995, allocations: 108.4 kB / 0.7397 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.8996, allocations: 106.2 kB / 0.7398 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-05/0.8996, allocations: 177 kB / 0.7399 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.008e-05/0.8997, allocations: 191.4 kB / 0.7401 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.93e-05/0.8998, allocations: 180.4 kB / 0.7403 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.285e-05/0.8998, allocations: 184.9 kB / 0.7405 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.9, allocations: 318.2 kB / 0.7408 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.9001, allocations: 214 kB / 0.741 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/0.9002, allocations: 177 kB / 0.7411 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.9003, allocations: 112 kB / 0.7413 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.9004, allocations: 181 kB / 0.7414 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.9004, allocations: 104.4 kB / 0.7415 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002244/0.9006, allocations: 214.1 kB / 0.7417 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9007, allocations: 4 kB / 0.7417 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000341/0.901, allocations: 50.02 kB / 0.7418 GB, free: 10.37 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.0004728/0.9015, allocations: 0.8361 MB / 0.7426 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001732/0.9017, allocations: 81.89 kB / 0.7427 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9017, allocations: 0 / 0.7427 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.9017, allocations: 0 / 0.7427 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.9022, allocations: 0.55 MB / 0.7432 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.9059, allocations: 4.109 MB / 0.7472 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.9063, allocations: 0.7428 MB / 0.7479 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001935/0.9065, allocations: 36.2 kB / 0.748 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.9067, allocations: 59.11 kB / 0.748 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of SimCode: time 3.436e-06/0.9067, allocations: 0 / 0.748 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1/1.907, allocations: 3.577 MB / 0.7515 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.02902/1.936, allocations: 175.9 kB / 0.7517 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/3.677, allocations: 12 kB / 0.7517 GB, free: 2.977 MB / 0.5606 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/linux/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) Environment - environmentSimulation: