Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",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.001211/0.001211, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002328/0.002328, allocations: 281.4 kB / 290.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9819/0.9819, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002634/0.002634, allocations: 100.9 kB / 0.6065 GB, free: 24.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1418, allocations: 89.16 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002762/0.1446, allocations: 1.688 MB / 0.6953 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006754/0.1453, allocations: 484.7 kB / 0.6957 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.1453, allocations: 0.6562 kB / 0.6957 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.1457, allocations: 145 kB / 0.6959 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.039e-05/0.1458, allocations: 59.67 kB / 0.6959 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.146, allocations: 59.86 kB / 0.696 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.1461, allocations: 95.52 kB / 0.6961 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.1462, allocations: 8.891 kB / 0.6961 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.959e-05/0.1463, allocations: 36.45 kB / 0.6961 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.847e-05/0.1464, allocations: 58.22 kB / 0.6962 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1464, allocations: 7.938 kB / 0.6962 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.1465, allocations: 79.84 kB / 0.6962 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.277e-05/0.1466, allocations: 51.86 kB / 0.6963 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.1467, allocations: 63.56 kB / 0.6963 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.1469, allocations: 187.3 kB / 0.6965 GB, free: 1.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1469, allocations: 0 / 0.6965 GB, free: 1.227 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.147, allocations: 5.688 kB / 0.6965 GB, free: 1.223 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.147, allocations: 0 / 0.6965 GB, free: 1.223 MB / 494.1 MB 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.000551/0.1475, allocations: 474.2 kB / 0.697 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.1476, allocations: 12.03 kB / 0.697 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.1476, allocations: 38.73 kB / 0.697 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.1476, allocations: 16.75 kB / 0.6971 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.1478, allocations: 215.7 kB / 0.6973 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1478, allocations: 384 / 0.6973 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.1478, allocations: 4.375 kB / 0.6973 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.148, allocations: 57.92 kB / 0.6973 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.148, allocations: 0 / 0.6973 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.148, allocations: 0 / 0.6973 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.148, allocations: 7.984 kB / 0.6973 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.1482, allocations: 43.95 kB / 0.6974 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.1487, allocations: 312.8 kB / 0.6977 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.1488, allocations: 50.48 kB / 0.6977 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.093e-05/0.1489, allocations: 28.91 kB / 0.6977 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.1489, allocations: 4 kB / 0.6977 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.149, allocations: 34.55 kB / 0.6978 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.149, allocations: 0 / 0.6978 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003599/0.1493, allocations: 105.6 kB / 0.6979 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.1494, allocations: 55.41 kB / 0.6979 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.1496, allocations: 258.7 kB / 0.6982 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1497, allocations: 25.7 kB / 0.6982 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.441e-05/0.1498, allocations: 143.9 kB / 0.6983 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.195e-05/0.1498, allocations: 0 / 0.6983 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.1498, allocations: 21.64 kB / 0.6984 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.1499, allocations: 330.8 kB / 0.6987 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.15, allocations: 23.97 kB / 0.6987 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.1501, allocations: 19.98 kB / 0.6987 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.1503, allocations: 48.75 kB / 0.6988 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1503, allocations: 0 / 0.6988 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00021/0.1505, allocations: 97.44 kB / 0.6989 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1505, allocations: 5.094 kB / 0.6989 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.1505, allocations: 3.938 kB / 0.6989 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1505, allocations: 4 kB / 0.6989 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.1506, allocations: 7.938 kB / 0.6989 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1506, allocations: 3.984 kB / 0.6989 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.029e-05/0.1507, allocations: 4 kB / 0.6989 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1507, allocations: 0 / 0.6989 GB, free: 14.59 MB / 0.4981 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.0001397/0.1509, allocations: 145.8 kB / 0.699 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.1509, allocations: 15.81 kB / 0.699 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.1512, allocations: 94.52 kB / 0.6991 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1512, allocations: 0 / 0.6991 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1512, allocations: 0 / 0.6991 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1512, allocations: 0 / 0.6991 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.1514, allocations: 213.5 kB / 0.6993 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1514, allocations: 0 / 0.6993 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.584e-05/0.1515, allocations: 12.02 kB / 0.6993 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1515, allocations: 0 / 0.6993 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1515, allocations: 0 / 0.6993 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1515, allocations: 7.938 kB / 0.6994 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.1515, allocations: 3.984 kB / 0.6994 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.1518, allocations: 187.2 kB / 0.6995 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.1518, allocations: 92.95 kB / 0.6996 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.1519, allocations: 0 / 0.6996 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.152, allocations: 8 kB / 0.6996 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.152, allocations: 3.984 kB / 0.6996 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.152, allocations: 4 kB / 0.6996 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001625/0.1522, allocations: 189.9 kB / 0.6998 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1522, allocations: 0 / 0.6998 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002417/0.1524, allocations: 32 kB / 0.6998 GB, free: 13.5 MB / 0.4981 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.0005925/0.153, allocations: 0.7472 MB / 0.7006 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.1533, allocations: 43.95 kB / 0.7006 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1533, allocations: 8.094 kB / 0.7006 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.105e-05/0.1534, allocations: 15.98 kB / 0.7006 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.1538, allocations: 45.27 kB / 0.7007 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/0.1545, allocations: 399.9 kB / 0.7011 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.1548, allocations: 0.7353 MB / 0.7018 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.045e-05/0.1548, allocations: 15.91 kB / 0.7018 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.1549, allocations: 43.42 kB / 0.7018 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1549, allocations: 4 kB / 0.7018 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.261/1.416, allocations: 3.894 MB / 0.7056 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/9.378, allocations: 14.28 kB / 0.7057 GB, free: 7.633 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)