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: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 113 kB / 16.41 MB, free: 6.453 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.001899/0.001899, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.438/1.438, allocations: 222.9 MB / 241 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.002483/0.002483, allocations: 281.1 kB / 291.5 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 1.005/1.005, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002774, allocations: 103.8 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4837, allocations: 86.96 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.0028/0.4865, allocations: 1.731 MB / 0.7687 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.4879, allocations: 0.9889 MB / 0.7697 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.4879, allocations: 4 kB / 0.7697 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.4882, allocations: 147.5 kB / 0.7698 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.617e-05/0.4883, allocations: 51.67 kB / 0.7699 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.4886, allocations: 107.6 kB / 0.77 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.4888, allocations: 107.5 kB / 0.7701 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.4888, allocations: 11.92 kB / 0.7701 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.265e-05/0.4889, allocations: 31.84 kB / 0.7701 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.142e-05/0.489, allocations: 47.72 kB / 0.7702 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.489, allocations: 8 kB / 0.7702 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.4892, allocations: 147.8 kB / 0.7703 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.092e-05/0.4893, allocations: 59.78 kB / 0.7704 GB, free: 476 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.4894, allocations: 59.56 kB / 0.7704 GB, free: 416 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.4897, allocations: 252.6 kB / 0.7707 GB, free: 172 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.4897, allocations: 0 / 0.7707 GB, free: 172 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4897, allocations: 0 / 0.7707 GB, free: 172 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.4897, allocations: 0 / 0.7707 GB, free: 172 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.0007007/0.4904, allocations: 0.4941 MB / 0.7712 GB, free: 15.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.4904, allocations: 12.03 kB / 0.7712 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.183e-05/0.4905, allocations: 20.8 kB / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.4907, allocations: 219.9 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.4907, allocations: 384 / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.4907, allocations: 384 / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.491, allocations: 73.72 kB / 0.7715 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.491, allocations: 0 / 0.7715 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-06/0.491, allocations: 0 / 0.7715 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-06/0.491, allocations: 0 / 0.7715 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.4912, allocations: 63.94 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.4916, allocations: 332.8 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.4918, allocations: 62.48 kB / 0.7719 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.977e-05/0.4919, allocations: 36.89 kB / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.4919, allocations: 12 kB / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.4919, allocations: 30.56 kB / 0.772 GB, free: 14.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4919, allocations: 0 / 0.772 GB, free: 14.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003972/0.4923, allocations: 137.5 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.4924, allocations: 55.41 kB / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.4926, allocations: 258.8 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.4927, allocations: 25.7 kB / 0.7724 GB, free: 14.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.4928, allocations: 144 kB / 0.7726 GB, free: 14.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.4928, allocations: 3.953 kB / 0.7726 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.4928, allocations: 17.72 kB / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.493, allocations: 334.8 kB / 0.7729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.822e-05/0.4931, allocations: 27.98 kB / 0.7729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-05/0.4931, allocations: 39.91 kB / 0.773 GB, free: 13.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.4933, allocations: 60.81 kB / 0.773 GB, free: 13.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4933, allocations: 0 / 0.773 GB, free: 13.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002485/0.4936, allocations: 109.5 kB / 0.7731 GB, free: 13.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4936, allocations: 11.94 kB / 0.7732 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4936, allocations: 4.094 kB / 0.7732 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.4936, allocations: 0 / 0.7732 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.338e-05/0.4937, allocations: 11.94 kB / 0.7732 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4937, allocations: 7.984 kB / 0.7732 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/0.4938, allocations: 0 / 0.7732 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.4938, allocations: 4 kB / 0.7732 GB, free: 13.38 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.0001226/0.4939, allocations: 137.8 kB / 0.7733 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.4939, allocations: 15.91 kB / 0.7733 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.4942, allocations: 118.5 kB / 0.7734 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4942, allocations: 0 / 0.7734 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.4942, allocations: 0 / 0.7734 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.4942, allocations: 0 / 0.7734 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.4945, allocations: 217.6 kB / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4945, allocations: 0 / 0.7736 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/0.4945, allocations: 11.98 kB / 0.7737 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4945, allocations: 0 / 0.7737 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.4945, allocations: 4.031 kB / 0.7737 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4945, allocations: 3.938 kB / 0.7737 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4945, allocations: 0 / 0.7737 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.4948, allocations: 215.3 kB / 0.7739 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.178e-05/0.4949, allocations: 92.97 kB / 0.774 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.4949, allocations: 0 / 0.774 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.659e-05/0.495, allocations: 12.02 kB / 0.774 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.4951, allocations: 0 / 0.774 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.4951, allocations: 4 kB / 0.774 GB, free: 12.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000184/0.4953, allocations: 189.9 kB / 0.7742 GB, free: 12.28 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4953, allocations: 0 / 0.7742 GB, free: 12.28 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002884/0.4955, allocations: 59.81 kB / 0.7742 GB, free: 12.22 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.0002345/0.4958, allocations: 151 kB / 0.7744 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.496, allocations: 71.88 kB / 0.7744 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.496, allocations: 0 / 0.7744 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.751e-05/0.4961, allocations: 27.98 kB / 0.7745 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.4966, allocations: 56.52 kB / 0.7745 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/0.4971, allocations: 334.1 kB / 0.7748 GB, free: 11.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.4975, allocations: 0.7392 MB / 0.7755 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.957e-05/0.4975, allocations: 11.75 kB / 0.7756 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/0.4975, allocations: 7.438 kB / 0.7756 GB, free: 10.77 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.4975, allocations: 4 kB / 0.7756 GB, free: 10.77 MB / 0.545 GB Notification: Performance of Templates: time 0.004959/0.5025, allocations: 1.93 MB / 0.7775 GB, free: 8.875 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.makefile (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 & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)