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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 116.6 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 212 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.602/1.602, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00274/0.00274, allocations: 288.1 kB / 309.8 MB, free: 3.492 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.113/1.113, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003121/0.003121, allocations: 99.8 kB / 0.7347 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.515/0.5181, allocations: 95.33 MB / 0.8278 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002588/0.5207, allocations: 1.744 MB / 0.8295 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.522, allocations: 1.166 MB / 0.8306 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.552e-05/0.5221, allocations: 4 kB / 0.8306 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.5225, allocations: 144.5 kB / 0.8307 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.428e-05/0.5225, allocations: 52.88 kB / 0.8308 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.5229, allocations: 164.7 kB / 0.8309 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.5231, allocations: 108.9 kB / 0.8311 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.5231, allocations: 4.203 kB / 0.8311 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.161e-05/0.5232, allocations: 40.7 kB / 0.8311 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.305e-05/0.5233, allocations: 56.92 kB / 0.8312 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.5233, allocations: 3.875 kB / 0.8312 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.5236, allocations: 234 kB / 0.8314 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.207e-05/0.5237, allocations: 66.73 kB / 0.8314 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.5238, allocations: 67.05 kB / 0.8315 GB, free: 484 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004092/0.5242, allocations: 308.2 kB / 0.8318 GB, free: 384 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.5242, allocations: 4 kB / 0.8318 GB, free: 380 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5242, allocations: 0 / 0.8318 GB, free: 380 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.5242, allocations: 0 / 0.8318 GB, free: 380 kB / 0.5762 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.0005952/0.5248, allocations: 0.4968 MB / 0.8323 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.5248, allocations: 10.52 kB / 0.8323 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.047e-05/0.5248, allocations: 14.91 kB / 0.8323 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.5249, allocations: 31.55 kB / 0.8323 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.5249, allocations: 19.64 kB / 0.8324 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.5251, allocations: 215.3 kB / 0.8326 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.5251, allocations: 2.844 kB / 0.8326 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.5251, allocations: 4.688 kB / 0.8326 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.5254, allocations: 80.94 kB / 0.8327 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.5254, allocations: 0 / 0.8327 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.5254, allocations: 0 / 0.8327 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.5254, allocations: 6.688 kB / 0.8327 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.5256, allocations: 94.12 kB / 0.8327 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.5262, allocations: 380.4 kB / 0.8331 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.5264, allocations: 95.52 kB / 0.8332 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.5265, allocations: 60.16 kB / 0.8333 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.147e-05/0.5266, allocations: 19.14 kB / 0.8333 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.5266, allocations: 32.81 kB / 0.8333 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.5266, allocations: 0 / 0.8333 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0004847/0.5271, allocations: 194.8 kB / 0.8335 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.5271, allocations: 58.16 kB / 0.8335 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.5275, allocations: 259.1 kB / 0.8338 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.5275, allocations: 25.7 kB / 0.8338 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.5276, allocations: 136.9 kB / 0.834 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.5276, allocations: 12.77 kB / 0.834 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.5277, allocations: 12.78 kB / 0.834 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.5279, allocations: 340 kB / 0.8343 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.528, allocations: 47.52 kB / 0.8343 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.5281, allocations: 49.31 kB / 0.8344 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.5283, allocations: 97.72 kB / 0.8345 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5283, allocations: 0.5625 kB / 0.8345 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003128/0.5287, allocations: 153.8 kB / 0.8346 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.5287, allocations: 6.281 kB / 0.8346 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5287, allocations: 0 / 0.8346 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5287, allocations: 0 / 0.8346 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.5288, allocations: 13.39 kB / 0.8347 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5288, allocations: 0 / 0.8347 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.512e-05/0.5289, allocations: 6.812 kB / 0.8347 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.5289, allocations: 5.766 kB / 0.8347 GB, free: 14.27 MB / 0.5919 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.0001245/0.529, allocations: 145.2 kB / 0.8348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.5291, allocations: 20.44 kB / 0.8348 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.5294, allocations: 164.5 kB / 0.835 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5294, allocations: 0.5 kB / 0.835 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5294, allocations: 2.922 kB / 0.835 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5294, allocations: 4.031 kB / 0.835 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.5298, allocations: 251.5 kB / 0.8352 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5298, allocations: 4 kB / 0.8352 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.634e-05/0.5298, allocations: 14.77 kB / 0.8352 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5298, allocations: 0.7969 kB / 0.8352 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.5298, allocations: 1 kB / 0.8352 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5298, allocations: 1.688 kB / 0.8352 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5298, allocations: 0 / 0.8352 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.5302, allocations: 248.5 kB / 0.8355 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.5303, allocations: 92.88 kB / 0.8356 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.5303, allocations: 5.156 kB / 0.8356 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.433e-05/0.5304, allocations: 6.219 kB / 0.8356 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.5305, allocations: 7.906 kB / 0.8356 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.5305, allocations: 0.8125 kB / 0.8356 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001909/0.5306, allocations: 194.5 kB / 0.8358 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5306, allocations: 0 / 0.8358 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004331/0.5311, allocations: 69.45 kB / 0.8358 GB, free: 13.45 MB / 0.5919 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.0009732/0.5321, allocations: 0.8546 MB / 0.8367 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003118/0.5324, allocations: 102.1 kB / 0.8368 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5324, allocations: 0 / 0.8368 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.5325, allocations: 62.39 kB / 0.8368 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.533, allocations: 37.77 kB / 0.8369 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008615/0.5338, allocations: 455 kB / 0.8373 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.5342, allocations: 0.7314 MB / 0.838 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.839e-05/0.5343, allocations: 7.359 kB / 0.838 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.748e-05/0.5344, allocations: 47.88 kB / 0.8381 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.5344, allocations: 0 / 0.8381 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.5603, allocations: 4.652 MB / 0.8426 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.75, allocations: 16.44 kB / 0.8426 GB, free: 11.07 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi_fmu --startTime=0 --stopTime=1.1 --stepSize=0.00044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.90728283097269] Failed to read output from testmodel.py, exit status != 0: 8.890494514023885 8.910826051 8.383624849 Calling exit ...