Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",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.004794/0.004794, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.00125/0.00125, allocations: 198.9 kB / 16.68 MB, free: 5.969 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002596/0.002595, allocations: 278.7 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 178.6 MB / 0.5074 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002684/0.002684, allocations: 99.84 kB / 0.6943 GB, free: 3.66 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4894/0.4921, allocations: 89.13 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.003057/0.4952, allocations: 1.713 MB / 0.783 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008046/0.496, allocations: 0.5099 MB / 0.7835 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.4961, allocations: 4 kB / 0.7835 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004221/0.4965, allocations: 141.3 kB / 0.7836 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.46e-05/0.4966, allocations: 48.88 kB / 0.7837 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.4969, allocations: 62.59 kB / 0.7837 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.4971, allocations: 103.6 kB / 0.7838 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.552e-05/0.4971, allocations: 9.719 kB / 0.7838 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.02e-05/0.4972, allocations: 37.3 kB / 0.7839 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.047e-05/0.4973, allocations: 46.8 kB / 0.7839 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.4973, allocations: 6.312 kB / 0.7839 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.4976, allocations: 89.69 kB / 0.784 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.623e-05/0.4977, allocations: 62.61 kB / 0.7841 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.463e-05/0.4977, allocations: 64.48 kB / 0.7841 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.4981, allocations: 189.8 kB / 0.7843 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4981, allocations: 0 / 0.7843 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4981, allocations: 1.094 kB / 0.7843 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.4981, allocations: 0 / 0.7843 GB, free: 11.94 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006598/0.4987, allocations: 497.1 kB / 0.7848 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4988, allocations: 17.31 kB / 0.7848 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.509e-05/0.4989, allocations: 32.5 kB / 0.7848 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.4989, allocations: 21.81 kB / 0.7849 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.4991, allocations: 217.8 kB / 0.7851 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.4991, allocations: 1.938 kB / 0.7851 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.4991, allocations: 1.781 kB / 0.7851 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.4993, allocations: 71.58 kB / 0.7851 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.4993, allocations: 0 / 0.7851 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.4994, allocations: 0 / 0.7851 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4994, allocations: 5.156 kB / 0.7851 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.4996, allocations: 58.52 kB / 0.7852 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.5001, allocations: 330.1 kB / 0.7855 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.5003, allocations: 66.25 kB / 0.7856 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.5004, allocations: 38.83 kB / 0.7856 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/0.5004, allocations: 9.25 kB / 0.7856 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.5005, allocations: 40.69 kB / 0.7857 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5005, allocations: 0 / 0.7857 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004129/0.5009, allocations: 131.3 kB / 0.7858 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.501, allocations: 60.17 kB / 0.7858 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.5013, allocations: 253.7 kB / 0.7861 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.5013, allocations: 25.7 kB / 0.7861 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.5014, allocations: 136.6 kB / 0.7862 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.5014, allocations: 9.078 kB / 0.7863 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.5014, allocations: 13.22 kB / 0.7863 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.5016, allocations: 330.4 kB / 0.7866 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.5017, allocations: 33.5 kB / 0.7866 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.922e-05/0.5018, allocations: 28.72 kB / 0.7866 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.502, allocations: 66.97 kB / 0.7867 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.502, allocations: 0 / 0.7867 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002446/0.5023, allocations: 111.4 kB / 0.7868 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.5023, allocations: 9.438 kB / 0.7868 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.5023, allocations: 4.609 kB / 0.7868 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.5023, allocations: 1.562 kB / 0.7868 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.933e-05/0.5024, allocations: 8.234 kB / 0.7868 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5025, allocations: 1.281 kB / 0.7868 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.5025, allocations: 5.531 kB / 0.7868 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.5025, allocations: 5.312 kB / 0.7868 GB, free: 9.887 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001165/0.5027, allocations: 138.3 kB / 0.787 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.5027, allocations: 25.42 kB / 0.787 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002833/0.503, allocations: 114.6 kB / 0.7871 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.503, allocations: 0 / 0.7871 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.503, allocations: 1.188 kB / 0.7871 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.503, allocations: 0 / 0.7871 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.5033, allocations: 219.4 kB / 0.7873 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.5033, allocations: 5.031 kB / 0.7873 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.5034, allocations: 16.44 kB / 0.7873 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.5034, allocations: 1.125 kB / 0.7873 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.5034, allocations: 0 / 0.7873 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5034, allocations: 1.156 kB / 0.7873 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5034, allocations: 0.7969 kB / 0.7873 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.5037, allocations: 203.1 kB / 0.7875 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.5038, allocations: 94.12 kB / 0.7876 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.5038, allocations: 2.078 kB / 0.7876 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.5039, allocations: 8.891 kB / 0.7876 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.5039, allocations: 2.906 kB / 0.7876 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.5039, allocations: 1.219 kB / 0.7876 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001829/0.5041, allocations: 190.6 kB / 0.7878 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5041, allocations: 0 / 0.7878 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002846/0.5044, allocations: 40.02 kB / 0.7879 GB, free: 9.098 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 (2): * Single equations (assignments): 2 * 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.0007229/0.5051, allocations: 0.7686 MB / 0.7886 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.5054, allocations: 61.52 kB / 0.7887 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.5054, allocations: 4.094 kB / 0.7887 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.5055, allocations: 35.98 kB / 0.7887 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.506, allocations: 46.91 kB / 0.7888 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007836/0.5068, allocations: 408.6 kB / 0.7891 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.5072, allocations: 0.7377 MB / 0.7899 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.137e-05/0.5072, allocations: 16.91 kB / 0.7899 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.5073, allocations: 46.28 kB / 0.7899 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.5073, allocations: 7.938 kB / 0.7899 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.5339, allocations: 3.967 MB / 0.7938 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.548, allocations: 10.09 kB / 0.7938 GB, free: 6.535 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.08 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)