Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.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.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h",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.007681/0.007681, allocations: 105.7 kB / 15.74 MB, free: 6.012 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.00129/0.00129, allocations: 199.2 kB / 16.68 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7681/0.7681, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 66.72 kB / 0.5851 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1666, allocations: 80.92 MB / 0.6642 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5887/0.7553, allocations: 176 MB / 0.836 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.7655, allocations: 8.705 MB / 0.8445 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008159/0.7663, allocations: 20.38 kB / 0.8445 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009667/0.7674, allocations: 303 kB / 0.8448 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.7684, allocations: 329.2 kB / 0.8451 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.7696, allocations: 377.6 kB / 0.8455 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001515/0.7711, allocations: 1.149 MB / 0.8466 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009263/0.772, allocations: 0.5957 MB / 0.8472 GB, free: 360 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004835/0.7769, allocations: 2.125 MB / 0.8493 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006161/0.7775, allocations: 350.3 kB / 0.8496 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.7776, allocations: 39.78 kB / 0.8496 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003255/0.778, allocations: 92.47 kB / 0.8497 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.7782, allocations: 247 kB / 0.85 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003923/0.7786, allocations: 284.3 kB / 0.8502 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000875/0.7795, allocations: 0.6508 MB / 0.8509 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7795, allocations: 0 / 0.8509 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7796, allocations: 4 kB / 0.8509 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.847e-05/0.7796, allocations: 0 / 0.8509 GB, free: 13.91 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001532/0.7811, allocations: 0.827 MB / 0.8517 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.7812, allocations: 11.27 kB / 0.8517 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/0.7813, allocations: 98.31 kB / 0.8518 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.7815, allocations: 69.36 kB / 0.8519 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008307/0.7823, allocations: 441.7 kB / 0.8523 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.7824, allocations: 37.75 kB / 0.8523 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.914e-05/0.7825, allocations: 55.58 kB / 0.8524 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.7835, allocations: 0.7079 MB / 0.8531 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.7835, allocations: 3.938 kB / 0.8531 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/0.7836, allocations: 27.83 kB / 0.8531 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-05/0.7836, allocations: 34.39 kB / 0.8531 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006281/0.7843, allocations: 374.3 kB / 0.8535 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/0.7871, allocations: 3.207 MB / 0.8566 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.7874, allocations: 220.2 kB / 0.8568 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.7876, allocations: 123.2 kB / 0.8569 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.7876, allocations: 14.23 kB / 0.857 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.7877, allocations: 47.5 kB / 0.857 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.7877, allocations: 0 / 0.857 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0007216/0.7884, allocations: 248.4 kB / 0.8572 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.7886, allocations: 293.5 kB / 0.8575 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008269/0.7894, allocations: 0.6869 MB / 0.8582 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.7895, allocations: 32.39 kB / 0.8582 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.7897, allocations: 264.7 kB / 0.8585 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.163e-05/0.7898, allocations: 36.47 kB / 0.8585 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.108e-05/0.7899, allocations: 32.06 kB / 0.8585 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002302/0.7901, allocations: 369.4 kB / 0.8589 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.7903, allocations: 36.38 kB / 0.8589 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.7905, allocations: 94.66 kB / 0.859 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.7907, allocations: 127.8 kB / 0.8591 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.7908, allocations: 336 / 0.8591 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00045/0.7912, allocations: 198.5 kB / 0.8593 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.7912, allocations: 4.438 kB / 0.8593 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.7913, allocations: 6.844 kB / 0.8593 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.7913, allocations: 1.125 kB / 0.8593 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.7915, allocations: 39.67 kB / 0.8594 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.7915, allocations: 2.469 kB / 0.8594 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.7918, allocations: 61.2 kB / 0.8594 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.7919, allocations: 4.969 kB / 0.8594 GB, free: 6.609 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002416/0.7921, allocations: 206.7 kB / 0.8596 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.7924, allocations: 62.58 kB / 0.8597 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.7925, allocations: 57.95 kB / 0.8598 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.7925, allocations: 2.75 kB / 0.8598 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.7925, allocations: 4.875 kB / 0.8598 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.7925, allocations: 1.812 kB / 0.8598 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.7941, allocations: 1.3 MB / 0.861 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.7941, allocations: 4 kB / 0.861 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.7943, allocations: 48.22 kB / 0.8611 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.7943, allocations: 0 / 0.8611 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.7944, allocations: 8.188 kB / 0.8611 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.7944, allocations: 10.92 kB / 0.8611 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.7944, allocations: 15.81 kB / 0.8611 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.7949, allocations: 334.5 kB / 0.8614 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.7951, allocations: 148.3 kB / 0.8616 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/0.7952, allocations: 4 kB / 0.8616 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.7953, allocations: 11.98 kB / 0.8616 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.7954, allocations: 15.86 kB / 0.8616 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.7954, allocations: 8 kB / 0.8616 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006003/0.796, allocations: 0.4912 MB / 0.8621 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7961, allocations: 4 kB / 0.8621 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004249/0.7965, allocations: 87.84 kB / 0.8622 GB, free: 3.824 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009155/0.7974, allocations: 0.9081 MB / 0.8631 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003031/0.7977, allocations: 107.8 kB / 0.8632 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7977, allocations: 0 / 0.8632 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.7979, allocations: 60.84 kB / 0.8632 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.7991, allocations: 275.7 kB / 0.8635 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005482/0.8046, allocations: 4.441 MB / 0.8678 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.8051, allocations: 0.905 MB / 0.8687 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002744/0.8054, allocations: 104.6 kB / 0.8688 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.8056, allocations: 167.4 kB / 0.869 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of SimCode: time 5.71e-07/0.8056, allocations: 0 / 0.869 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03321/0.8388, allocations: 13.59 MB / 0.8822 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.849, allocations: 11.92 kB / 0.8823 GB, free: 15.24 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)