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.004407/0.004407, allocations: 101 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.001237/0.001237, allocations: 187.1 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00244/0.00244, allocations: 290.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9553/0.9553, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002588/0.002588, allocations: 99.84 kB / 0.681 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3785, allocations: 86.98 MB / 0.7659 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002749/0.3813, allocations: 1.698 MB / 0.7676 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007388/0.3821, allocations: 0.5154 MB / 0.7681 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.3821, allocations: 0 / 0.7681 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.3825, allocations: 147.4 kB / 0.7682 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.547e-05/0.3826, allocations: 51.73 kB / 0.7682 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.3828, allocations: 63.73 kB / 0.7683 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.383, allocations: 99.5 kB / 0.7684 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.383, allocations: 19.78 kB / 0.7684 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.862e-05/0.3831, allocations: 31.86 kB / 0.7684 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.3832, allocations: 51.75 kB / 0.7685 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.3832, allocations: 4 kB / 0.7685 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.3834, allocations: 87.84 kB / 0.7686 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.3835, allocations: 59.8 kB / 0.7686 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/0.3835, allocations: 63.56 kB / 0.7687 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.3838, allocations: 188.5 kB / 0.7689 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3838, allocations: 0 / 0.7689 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3838, allocations: 4 kB / 0.7689 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3838, allocations: 0 / 0.7689 GB, free: 0.9062 MB / 0.5294 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.0005958/0.3844, allocations: 0.4941 MB / 0.7694 GB, free: 372 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.3845, allocations: 11.97 kB / 0.7694 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.082e-05/0.3845, allocations: 34.69 kB / 0.7694 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.3845, allocations: 16.84 kB / 0.7694 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.3847, allocations: 215.9 kB / 0.7696 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.3847, allocations: 384 / 0.7696 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.3848, allocations: 384 / 0.7696 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.385, allocations: 77.97 kB / 0.7697 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.385, allocations: 0 / 0.7697 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.385, allocations: 0 / 0.7697 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.385, allocations: 0 / 0.7697 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.3852, allocations: 55.95 kB / 0.7698 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.3856, allocations: 336.7 kB / 0.7701 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.3858, allocations: 62.55 kB / 0.7701 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.968e-05/0.3859, allocations: 36.89 kB / 0.7702 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.3859, allocations: 8 kB / 0.7702 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.386, allocations: 38.56 kB / 0.7702 GB, free: 15.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.386, allocations: 0 / 0.7702 GB, free: 15.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000373/0.3863, allocations: 141.5 kB / 0.7704 GB, free: 15.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.3864, allocations: 51.41 kB / 0.7704 GB, free: 15.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.3866, allocations: 254.7 kB / 0.7707 GB, free: 14.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.3867, allocations: 29.7 kB / 0.7707 GB, free: 14.87 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.3868, allocations: 136.1 kB / 0.7708 GB, free: 14.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.3868, allocations: 4 kB / 0.7708 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.3868, allocations: 9.719 kB / 0.7708 GB, free: 14.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.387, allocations: 338.9 kB / 0.7711 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9e-05/0.3871, allocations: 23.98 kB / 0.7712 GB, free: 14.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.264e-05/0.3872, allocations: 31.97 kB / 0.7712 GB, free: 14.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.3873, allocations: 64.75 kB / 0.7713 GB, free: 14.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3874, allocations: 0 / 0.7713 GB, free: 14.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000236/0.3876, allocations: 117.5 kB / 0.7714 GB, free: 14.13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3876, allocations: 8 kB / 0.7714 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3876, allocations: 4 kB / 0.7714 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.3876, allocations: 0 / 0.7714 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/0.3877, allocations: 8 kB / 0.7714 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.3877, allocations: 3.938 kB / 0.7714 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.3878, allocations: 7.984 kB / 0.7714 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.3878, allocations: 4.031 kB / 0.7714 GB, free: 14.1 MB / 0.545 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.0001115/0.3879, allocations: 137.8 kB / 0.7715 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.388, allocations: 19.86 kB / 0.7716 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.3882, allocations: 118.5 kB / 0.7717 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3882, allocations: 3.984 kB / 0.7717 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.3883, allocations: 3.984 kB / 0.7717 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3883, allocations: 0 / 0.7717 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.3885, allocations: 229.5 kB / 0.7719 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3885, allocations: 0 / 0.7719 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.3886, allocations: 11.98 kB / 0.7719 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3886, allocations: 0 / 0.7719 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.3886, allocations: 0 / 0.7719 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3886, allocations: 0 / 0.7719 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3886, allocations: 0 / 0.7719 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.3889, allocations: 211.3 kB / 0.7721 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.3889, allocations: 89.02 kB / 0.7722 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.389, allocations: 0 / 0.7722 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.3891, allocations: 15.92 kB / 0.7722 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.3891, allocations: 0 / 0.7722 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3891, allocations: 0 / 0.7722 GB, free: 13.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001742/0.3893, allocations: 193.9 kB / 0.7724 GB, free: 12.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3893, allocations: 0 / 0.7724 GB, free: 12.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002513/0.3896, allocations: 39.97 kB / 0.7724 GB, free: 12.95 MB / 0.545 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.0006451/0.3902, allocations: 0.7668 MB / 0.7732 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.3904, allocations: 67.92 kB / 0.7732 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3905, allocations: 0 / 0.7732 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.471e-05/0.3906, allocations: 31.97 kB / 0.7733 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.391, allocations: 48.58 kB / 0.7733 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006793/0.3917, allocations: 395.6 kB / 0.7737 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.392, allocations: 0.7391 MB / 0.7744 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.963e-05/0.3921, allocations: 19.67 kB / 0.7744 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.3921, allocations: 47.42 kB / 0.7745 GB, free: 10.75 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.3921, allocations: 0 / 0.7745 GB, free: 10.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.4174, allocations: 3.967 MB / 0.7784 GB, free: 6.965 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.913, allocations: 8.484 kB / 0.7784 GB, free: 6.957 MB / 0.545 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)