Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.004977/0.004977, allocations: 97.92 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.001355/0.001355, allocations: 197.7 kB / 16.67 MB, free: 5.922 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9915/0.9915, allocations: 135.5 MB / 426.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.91 kB / 0.5857 GB, free: 3.211 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3862, allocations: 81.02 MB / 0.6649 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002481/0.3888, allocations: 1.88 MB / 0.6667 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1881/0.5769, allocations: 155.4 MB / 0.8185 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.5772, allocations: 4 kB / 0.8185 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.5775, allocations: 31.66 kB / 0.8185 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.5779, allocations: 67.48 kB / 0.8186 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008409/0.5788, allocations: 263.1 kB / 0.8188 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.5791, allocations: 259.2 kB / 0.8191 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.5793, allocations: 67.53 kB / 0.8191 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.5808, allocations: 238.1 kB / 0.8193 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.581, allocations: 95.59 kB / 0.8194 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.581, allocations: 16 kB / 0.8195 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003884/0.5814, allocations: 183.7 kB / 0.8196 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.5815, allocations: 43.89 kB / 0.8197 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.5816, allocations: 87.58 kB / 0.8198 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004737/0.5821, allocations: 278.9 kB / 0.82 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5821, allocations: 0 / 0.82 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5821, allocations: 4 kB / 0.82 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.5821, allocations: 0 / 0.82 GB, free: 1.59 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009914/0.5831, allocations: 0.5181 MB / 0.8205 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.5832, allocations: 8.031 kB / 0.8205 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.424e-05/0.5832, allocations: 54.55 kB / 0.8206 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008559/0.5841, allocations: 83.83 kB / 0.8207 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.5844, allocations: 226.7 kB / 0.8209 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.867e-05/0.5845, allocations: 49.97 kB / 0.8209 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.5846, allocations: 12 kB / 0.8209 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000554/0.5851, allocations: 258.6 kB / 0.8212 GB, free: 268 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.5852, allocations: 4 kB / 0.8212 GB, free: 264 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.5852, allocations: 4 kB / 0.8212 GB, free: 260 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.5852, allocations: 8 kB / 0.8212 GB, free: 252 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/0.5857, allocations: 171.7 kB / 0.8214 GB, free: 80 kB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.5874, allocations: 1.181 MB / 0.8225 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007909/0.5882, allocations: 210.6 kB / 0.8227 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.5884, allocations: 64.83 kB / 0.8228 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.5885, allocations: 7.938 kB / 0.8228 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.5885, allocations: 38.55 kB / 0.8228 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.5885, allocations: 0 / 0.8228 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.002731/0.5913, allocations: 0.6259 MB / 0.8234 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.5913, allocations: 55.41 kB / 0.8235 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.5916, allocations: 203.1 kB / 0.8237 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.5916, allocations: 29.7 kB / 0.8237 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.5918, allocations: 135.8 kB / 0.8238 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.5918, allocations: 39.64 kB / 0.8239 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.5919, allocations: 49.69 kB / 0.8239 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.5921, allocations: 330.8 kB / 0.8242 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.5924, allocations: 71.88 kB / 0.8243 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.5927, allocations: 139.5 kB / 0.8244 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/0.5932, allocations: 197.6 kB / 0.8246 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5932, allocations: 0 / 0.8246 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001473/0.5946, allocations: 378.7 kB / 0.825 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.5947, allocations: 7.984 kB / 0.825 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.5947, allocations: 4 kB / 0.825 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.5958, allocations: 157.8 kB / 0.8252 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.596, allocations: 39.89 kB / 0.8252 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004295/0.6003, allocations: 3.242 MB / 0.8284 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/0.6007, allocations: 43.75 kB / 0.8284 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.6007, allocations: 4 kB / 0.8284 GB, free: 8.316 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000181/0.6009, allocations: 138.4 kB / 0.8285 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.601, allocations: 15.91 kB / 0.8286 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.6023, allocations: 372.5 kB / 0.8289 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.6023, allocations: 7.984 kB / 0.8289 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.6023, allocations: 0 / 0.8289 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.6024, allocations: 0 / 0.8289 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.6027, allocations: 273.4 kB / 0.8292 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6028, allocations: 3.938 kB / 0.8292 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.6029, allocations: 23.92 kB / 0.8292 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008478/0.6038, allocations: 141.6 kB / 0.8293 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.6038, allocations: 4 kB / 0.8293 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004075/0.6079, allocations: 3.293 MB / 0.8326 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6079, allocations: 32 / 0.8326 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.6092, allocations: 442.5 kB / 0.833 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.6093, allocations: 105 kB / 0.8331 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.6094, allocations: 15.88 kB / 0.8331 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.6096, allocations: 19.98 kB / 0.8331 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.6097, allocations: 11.98 kB / 0.8331 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.6097, allocations: 11.98 kB / 0.8331 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001951/0.6099, allocations: 144.8 kB / 0.8333 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.61, allocations: 0 / 0.8333 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004226/0.6104, allocations: 71.89 kB / 0.8333 GB, free: 2.855 MB / 0.6544 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001758/0.6121, allocations: 0.9806 MB / 0.8343 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.6133, allocations: 445.8 kB / 0.8347 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6133, allocations: 4 kB / 0.8347 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006975/0.614, allocations: 353.2 kB / 0.8351 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.6144, allocations: 72.25 kB / 0.8351 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/0.6196, allocations: 2.511 MB / 0.8376 GB, free: 14.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.6201, allocations: 0.7361 MB / 0.8383 GB, free: 13.54 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00018/0.6203, allocations: 37.98 kB / 0.8383 GB, free: 13.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.6204, allocations: 59.41 kB / 0.8384 GB, free: 13.44 MB / 0.67 GB Notification: Performance of SimCode: time 4.11e-07/0.6204, allocations: 0 / 0.8384 GB, free: 13.44 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.6573, allocations: 7.275 MB / 0.8455 GB, free: 6.363 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.93, allocations: 3.875 kB / 0.8455 GB, free: 6.363 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)