Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",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.007333/0.007333, allocations: 104.4 kB / 15.73 MB, free: 6.027 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.001764/0.001764, allocations: 188.7 kB / 16.67 MB, free: 5.957 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 284.7 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9061/0.9061, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 87.86 kB / 0.6809 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3878, allocations: 86.99 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002477/0.3903, allocations: 1.712 MB / 0.7676 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.3915, allocations: 0.9928 MB / 0.7685 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.3916, allocations: 0 / 0.7685 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.3919, allocations: 147.5 kB / 0.7687 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.298e-05/0.392, allocations: 59.67 kB / 0.7687 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.3923, allocations: 103.6 kB / 0.7688 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.3925, allocations: 103.5 kB / 0.7689 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.3925, allocations: 15.8 kB / 0.7689 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.656e-05/0.3926, allocations: 39.78 kB / 0.769 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.825e-05/0.3927, allocations: 51.77 kB / 0.769 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.3927, allocations: 0 / 0.769 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.3929, allocations: 143.8 kB / 0.7692 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.027e-05/0.393, allocations: 59.73 kB / 0.7692 GB, free: 440 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.3931, allocations: 63.56 kB / 0.7693 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.3934, allocations: 244.3 kB / 0.7695 GB, free: 136 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3934, allocations: 0 / 0.7695 GB, free: 136 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3934, allocations: 3.938 kB / 0.7695 GB, free: 132 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3934, allocations: 4 kB / 0.7695 GB, free: 128 kB / 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.0005724/0.394, allocations: 0.494 MB / 0.77 GB, free: 15.58 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.394, allocations: 8.031 kB / 0.77 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.3941, allocations: 38.75 kB / 0.7701 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.3941, allocations: 20.8 kB / 0.7701 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.3943, allocations: 219.9 kB / 0.7703 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.3943, allocations: 4.312 kB / 0.7703 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.3943, allocations: 4.375 kB / 0.7703 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.3945, allocations: 65.61 kB / 0.7704 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.3945, allocations: 0 / 0.7704 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.3945, allocations: 0 / 0.7704 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3945, allocations: 3.984 kB / 0.7704 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.3947, allocations: 59.95 kB / 0.7704 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.3951, allocations: 328.8 kB / 0.7707 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.3953, allocations: 70.48 kB / 0.7708 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.486e-05/0.3954, allocations: 36.89 kB / 0.7708 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.3954, allocations: 8 kB / 0.7708 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.3955, allocations: 30.56 kB / 0.7709 GB, free: 14.58 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3955, allocations: 0 / 0.7709 GB, free: 14.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000379/0.3959, allocations: 137.5 kB / 0.771 GB, free: 14.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.3959, allocations: 59.34 kB / 0.7711 GB, free: 14.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.3961, allocations: 258.7 kB / 0.7713 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.3962, allocations: 25.7 kB / 0.7713 GB, free: 14.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.3962, allocations: 140.1 kB / 0.7715 GB, free: 13.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.3963, allocations: 3.953 kB / 0.7715 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.3963, allocations: 13.84 kB / 0.7715 GB, free: 13.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3964, allocations: 342.8 kB / 0.7718 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.339e-05/0.3965, allocations: 23.98 kB / 0.7718 GB, free: 13.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.884e-05/0.3966, allocations: 27.97 kB / 0.7719 GB, free: 13.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.3968, allocations: 64.81 kB / 0.7719 GB, free: 13.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3968, allocations: 4.062 kB / 0.7719 GB, free: 13.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002209/0.397, allocations: 109.5 kB / 0.772 GB, free: 13.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.397, allocations: 7.938 kB / 0.772 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3971, allocations: 3.938 kB / 0.772 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3971, allocations: 0 / 0.772 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.131e-05/0.3972, allocations: 15.98 kB / 0.772 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3972, allocations: 3.938 kB / 0.7721 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.381e-05/0.3973, allocations: 8.031 kB / 0.7721 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.3973, allocations: 0 / 0.7721 GB, free: 13.3 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 9.306e-05/0.3974, allocations: 141.8 kB / 0.7722 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.3974, allocations: 15.91 kB / 0.7722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.3977, allocations: 110.5 kB / 0.7723 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3977, allocations: 7.984 kB / 0.7723 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3977, allocations: 0 / 0.7723 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3977, allocations: 4.031 kB / 0.7723 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.3979, allocations: 217.6 kB / 0.7725 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3979, allocations: 0 / 0.7725 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.398, allocations: 11.92 kB / 0.7725 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.398, allocations: 4 kB / 0.7726 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.398, allocations: 0 / 0.7726 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.398, allocations: 4 kB / 0.7726 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.398, allocations: 0 / 0.7726 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.3983, allocations: 215.3 kB / 0.7728 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.3984, allocations: 92.97 kB / 0.7728 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.3984, allocations: 4 kB / 0.7729 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.754e-05/0.3985, allocations: 7.984 kB / 0.7729 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.3985, allocations: 0 / 0.7729 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3985, allocations: 0 / 0.7729 GB, free: 12.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001591/0.3987, allocations: 193.9 kB / 0.773 GB, free: 12.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3987, allocations: 4.031 kB / 0.773 GB, free: 12.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002856/0.399, allocations: 51.81 kB / 0.7731 GB, free: 12.14 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.0006289/0.3996, allocations: 0.794 MB / 0.7739 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.3999, allocations: 67.97 kB / 0.7739 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3999, allocations: 0 / 0.7739 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.808e-05/0.4, allocations: 35.92 kB / 0.774 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.4004, allocations: 44.52 kB / 0.774 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006631/0.4011, allocations: 411.6 kB / 0.7744 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.4014, allocations: 0.7314 MB / 0.7751 GB, free: 9.969 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.035e-05/0.4014, allocations: 11.75 kB / 0.7751 GB, free: 9.957 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.4015, allocations: 47.42 kB / 0.7752 GB, free: 9.91 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.4015, allocations: 0 / 0.7752 GB, free: 9.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.421, allocations: 4.147 MB / 0.7792 GB, free: 5.949 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.132/7.553, allocations: 0.625 kB / 0.7792 GB, free: 5.949 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi_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_wDerPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)