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.006277/0.006277, allocations: 97.81 kB / 15.73 MB, free: 5.961 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.00158/0.001581, allocations: 195.6 kB / 16.67 MB, free: 5.883 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002535/0.002534, allocations: 282.9 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 1.203/1.203, allocations: 178.6 MB / 0.5074 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 99.84 kB / 0.6943 GB, free: 15.22 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4237, allocations: 89.13 MB / 0.7813 GB, free: 1.109 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002624/0.4264, allocations: 1.714 MB / 0.783 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.4279, allocations: 0.9942 MB / 0.784 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.854e-05/0.4279, allocations: 4 kB / 0.784 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004158/0.4284, allocations: 148 kB / 0.7841 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.398e-05/0.4285, allocations: 54.61 kB / 0.7842 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.4288, allocations: 103.8 kB / 0.7843 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.429, allocations: 104.7 kB / 0.7844 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.828e-05/0.429, allocations: 12.28 kB / 0.7844 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.436e-05/0.4291, allocations: 33.92 kB / 0.7844 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.343e-05/0.4292, allocations: 50.33 kB / 0.7845 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.4292, allocations: 2.719 kB / 0.7845 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.4295, allocations: 154.3 kB / 0.7846 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.588e-05/0.4296, allocations: 60.2 kB / 0.7847 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.4297, allocations: 63.73 kB / 0.7847 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.4301, allocations: 239.9 kB / 0.785 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4301, allocations: 0 / 0.785 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4301, allocations: 0 / 0.785 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.4301, allocations: 1.531 kB / 0.785 GB, free: 14.38 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.0006526/0.4307, allocations: 0.4917 MB / 0.7854 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4308, allocations: 14.36 kB / 0.7854 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.4308, allocations: 38.69 kB / 0.7855 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.4309, allocations: 21.42 kB / 0.7855 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.4311, allocations: 219.7 kB / 0.7857 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.4311, allocations: 384 / 0.7857 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.4311, allocations: 1.5 kB / 0.7857 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.4313, allocations: 62.67 kB / 0.7858 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.4313, allocations: 1.156 kB / 0.7858 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.4314, allocations: 4 kB / 0.7858 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4314, allocations: 0 / 0.7858 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.4316, allocations: 58.73 kB / 0.7858 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.4321, allocations: 337.7 kB / 0.7862 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.4322, allocations: 61.48 kB / 0.7862 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.4323, allocations: 40.36 kB / 0.7863 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.4324, allocations: 12.11 kB / 0.7863 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.4324, allocations: 31.47 kB / 0.7863 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.4324, allocations: 0 / 0.7863 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004279/0.4329, allocations: 143.6 kB / 0.7864 GB, free: 13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.4329, allocations: 52.84 kB / 0.7865 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.4332, allocations: 258.6 kB / 0.7867 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.4332, allocations: 30.77 kB / 0.7868 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.4333, allocations: 134.8 kB / 0.7869 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.4333, allocations: 3.953 kB / 0.7869 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.4334, allocations: 17.16 kB / 0.7869 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4335, allocations: 332.4 kB / 0.7872 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.4336, allocations: 30.53 kB / 0.7873 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.435e-05/0.4337, allocations: 38.72 kB / 0.7873 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.4339, allocations: 62.72 kB / 0.7874 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4339, allocations: 3.938 kB / 0.7874 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002511/0.4342, allocations: 110.2 kB / 0.7875 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.4342, allocations: 9.062 kB / 0.7875 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4342, allocations: 0 / 0.7875 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.4343, allocations: 1.438 kB / 0.7875 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.4343, allocations: 13.33 kB / 0.7875 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.4344, allocations: 1.125 kB / 0.7875 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.775e-05/0.4344, allocations: 7.047 kB / 0.7875 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.4344, allocations: 1 kB / 0.7875 GB, free: 12.11 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.0001115/0.4346, allocations: 140.6 kB / 0.7876 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.4346, allocations: 19.59 kB / 0.7876 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.4349, allocations: 117.1 kB / 0.7878 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4349, allocations: 0 / 0.7878 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4349, allocations: 1.094 kB / 0.7878 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4349, allocations: 0 / 0.7878 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.4352, allocations: 221.4 kB / 0.788 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4352, allocations: 1.062 kB / 0.788 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.4353, allocations: 10.14 kB / 0.788 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4353, allocations: 4.031 kB / 0.788 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.4353, allocations: 1.156 kB / 0.788 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4353, allocations: 0 / 0.788 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4353, allocations: 1.594 kB / 0.788 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.4356, allocations: 207.7 kB / 0.7882 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/0.4357, allocations: 93.53 kB / 0.7883 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.4357, allocations: 5.156 kB / 0.7883 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/0.4358, allocations: 7.703 kB / 0.7883 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.4358, allocations: 4.812 kB / 0.7883 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.4359, allocations: 1.062 kB / 0.7883 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001765/0.436, allocations: 193 kB / 0.7885 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.436, allocations: 0 / 0.7885 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002975/0.4363, allocations: 56.97 kB / 0.7885 GB, free: 11.22 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.0007689/0.4371, allocations: 0.7937 MB / 0.7893 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002501/0.4374, allocations: 60.77 kB / 0.7894 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4374, allocations: 7.875 kB / 0.7894 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.4375, allocations: 37.31 kB / 0.7894 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.438, allocations: 46.5 kB / 0.7894 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007571/0.4387, allocations: 414 kB / 0.7898 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.4391, allocations: 0.7391 MB / 0.7906 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.294e-05/0.4392, allocations: 7.594 kB / 0.7906 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.4393, allocations: 50.14 kB / 0.7906 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.4393, allocations: 0 / 0.7906 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.466, allocations: 4.131 MB / 0.7947 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.56, allocations: 8.797 kB / 0.7947 GB, free: 7.273 MB / 0.5606 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)