Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",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.004163/0.004163, allocations: 101 kB / 15.73 MB, free: 6.059 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.001207/0.001207, allocations: 197.1 kB / 16.67 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002432/0.002432, allocations: 301.8 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.9557/0.9557, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002679/0.002679, allocations: 99.84 kB / 0.681 GB, free: 7.516 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3692, allocations: 86.98 MB / 0.7659 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002708/0.3719, allocations: 1.7 MB / 0.7676 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3734, allocations: 1.102 MB / 0.7686 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.3735, allocations: 4 kB / 0.7686 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.3739, allocations: 159.4 kB / 0.7688 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.585e-05/0.374, allocations: 47.75 kB / 0.7688 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.3744, allocations: 159.4 kB / 0.769 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.3746, allocations: 111.5 kB / 0.7691 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.3746, allocations: 11.8 kB / 0.7691 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.3747, allocations: 35.84 kB / 0.7691 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.444e-05/0.3748, allocations: 59.69 kB / 0.7692 GB, free: 492 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.3748, allocations: 4 kB / 0.7692 GB, free: 488 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003662/0.3752, allocations: 235.5 kB / 0.7694 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.175e-05/0.3753, allocations: 59.8 kB / 0.7695 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.3753, allocations: 59.56 kB / 0.7695 GB, free: 132 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.3758, allocations: 312.1 kB / 0.7698 GB, free: 15.83 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3758, allocations: 0 / 0.7698 GB, free: 15.83 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3758, allocations: 0 / 0.7698 GB, free: 15.83 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3758, allocations: 0 / 0.7698 GB, free: 15.83 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006685/0.3765, allocations: 0.5057 MB / 0.7703 GB, free: 15.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3765, allocations: 8.031 kB / 0.7703 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.3766, allocations: 42.75 kB / 0.7704 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.3766, allocations: 20.8 kB / 0.7704 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.3768, allocations: 219.9 kB / 0.7706 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3768, allocations: 384 / 0.7706 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.3768, allocations: 384 / 0.7706 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.3771, allocations: 89.58 kB / 0.7707 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.3771, allocations: 0 / 0.7707 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3772, allocations: 3.984 kB / 0.7707 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3772, allocations: 3.938 kB / 0.7707 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.3775, allocations: 99.88 kB / 0.7708 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.378, allocations: 376.8 kB / 0.7712 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.3782, allocations: 106.5 kB / 0.7713 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.3783, allocations: 52.89 kB / 0.7713 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-05/0.3784, allocations: 23.98 kB / 0.7713 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3784, allocations: 34.55 kB / 0.7714 GB, free: 14.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 2.845e-06/0.3784, allocations: 0 / 0.7714 GB, free: 14.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004338/0.3789, allocations: 193.4 kB / 0.7715 GB, free: 13.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.3789, allocations: 51.53 kB / 0.7716 GB, free: 13.83 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.3792, allocations: 266.7 kB / 0.7718 GB, free: 13.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3792, allocations: 25.7 kB / 0.7719 GB, free: 13.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3793, allocations: 136.1 kB / 0.772 GB, free: 13.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.3793, allocations: 7.953 kB / 0.772 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.3794, allocations: 9.719 kB / 0.772 GB, free: 13.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3795, allocations: 338.8 kB / 0.7723 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.3796, allocations: 47.97 kB / 0.7724 GB, free: 12.99 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.794e-05/0.3798, allocations: 47.97 kB / 0.7724 GB, free: 12.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.38, allocations: 104.7 kB / 0.7725 GB, free: 12.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.38, allocations: 0 / 0.7725 GB, free: 12.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002581/0.3802, allocations: 145.5 kB / 0.7727 GB, free: 12.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3803, allocations: 4.094 kB / 0.7727 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3803, allocations: 4 kB / 0.7727 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3803, allocations: 4 kB / 0.7727 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.251e-05/0.3804, allocations: 7.984 kB / 0.7727 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3804, allocations: 0 / 0.7727 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.3805, allocations: 7.984 kB / 0.7727 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3805, allocations: 7.938 kB / 0.7727 GB, free: 12.66 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.00011/0.3806, allocations: 140.1 kB / 0.7728 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3806, allocations: 15.91 kB / 0.7729 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/0.381, allocations: 174.4 kB / 0.773 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.381, allocations: 0 / 0.773 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.381, allocations: 4 kB / 0.773 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.381, allocations: 0 / 0.773 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.3813, allocations: 245.5 kB / 0.7733 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3813, allocations: 0 / 0.7733 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.889e-05/0.3813, allocations: 11.94 kB / 0.7733 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3814, allocations: 7.984 kB / 0.7733 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.3814, allocations: 4 kB / 0.7733 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3814, allocations: 4 kB / 0.7733 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3814, allocations: 0 / 0.7733 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.3817, allocations: 247.3 kB / 0.7735 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.3818, allocations: 92.97 kB / 0.7736 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.3818, allocations: 4 kB / 0.7736 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.014e-05/0.3819, allocations: 7.984 kB / 0.7736 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.3819, allocations: 4 kB / 0.7736 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.3819, allocations: 0 / 0.7736 GB, free: 11.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001695/0.3821, allocations: 193.9 kB / 0.7738 GB, free: 11.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3821, allocations: 0 / 0.7738 GB, free: 11.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003135/0.3824, allocations: 75.73 kB / 0.7739 GB, free: 11.35 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 (3): * Single equations (assignments): 3 * 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.0007733/0.3832, allocations: 0.8566 MB / 0.7747 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.3835, allocations: 103.9 kB / 0.7748 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3835, allocations: 0 / 0.7748 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.3836, allocations: 51.97 kB / 0.7749 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.3841, allocations: 59.09 kB / 0.7749 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007655/0.3849, allocations: 439.5 kB / 0.7753 GB, free: 9.789 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.3852, allocations: 0.7469 MB / 0.7761 GB, free: 9.016 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.248e-05/0.3853, allocations: 7.75 kB / 0.7761 GB, free: 9.008 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.3853, allocations: 47.42 kB / 0.7761 GB, free: 8.961 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.3854, allocations: 0 / 0.7761 GB, free: 8.961 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.4105, allocations: 4.587 MB / 0.7806 GB, free: 4.559 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.451/7.862, allocations: 12.27 kB / 0.7806 GB, free: 4.547 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)