Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample,fileNamePrefix="BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample,fileNamePrefix="BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample",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.001172/0.001172, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00139/0.00139, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.156/1.156, allocations: 143.4 MB / 434.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004808, allocations: 12 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2332, allocations: 83.41 MB / 0.5975 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample): time 0.006615/0.2398, allocations: 5.692 MB / 0.6031 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4428/0.6827, allocations: 3.65 MB / 0.6067 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.6842, allocations: 24.19 kB / 0.6067 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006036/0.6848, allocations: 183.1 kB / 0.6069 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008264/0.6856, allocations: 308.8 kB / 0.6071 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.687, allocations: 0.5537 MB / 0.6077 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001307/0.6883, allocations: 1.571 MB / 0.6092 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000667/0.689, allocations: 0.5091 MB / 0.6097 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006638/0.6897, allocations: 0.5639 MB / 0.6103 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008582/0.6905, allocations: 0.6768 MB / 0.6109 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.6907, allocations: 68.44 kB / 0.611 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005608/0.6913, allocations: 332.2 kB / 0.6113 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002745/0.6915, allocations: 310 kB / 0.6116 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.6918, allocations: 279.4 kB / 0.6119 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.6929, allocations: 1.629 MB / 0.6135 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.693, allocations: 0 / 0.6135 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.693, allocations: 0 / 0.6135 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.693, allocations: 0 / 0.6135 GB, free: 34.12 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.002948/0.6959, allocations: 1.852 MB / 0.6153 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.696, allocations: 8.719 kB / 0.6153 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002189/0.6962, allocations: 178.3 kB / 0.6155 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000331/0.6966, allocations: 186.6 kB / 0.6156 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.6977, allocations: 0.8387 MB / 0.6164 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/0.6979, allocations: 274 kB / 0.6167 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.6981, allocations: 105.7 kB / 0.6168 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002347/0.7004, allocations: 1.369 MB / 0.6181 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.7004, allocations: 0 / 0.6181 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.7006, allocations: 50.97 kB / 0.6182 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.7006, allocations: 29.61 kB / 0.6182 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/0.7031, allocations: 1.24 MB / 0.6194 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005706/0.7088, allocations: 4.539 MB / 0.6239 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.7108, allocations: 1.16 MB / 0.625 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.7121, allocations: 0.7335 MB / 0.6257 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004935/0.7126, allocations: 0.532 MB / 0.6262 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/0.7139, allocations: 0.7085 MB / 0.6269 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=115): time 3.497e-06/0.7139, allocations: 2.969 kB / 0.6269 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=115): time 0.009331/0.7232, allocations: 3.406 MB / 0.6303 GB, free: 27.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.133e-05/0.7234, allocations: 282.6 kB / 0.6305 GB, free: 27.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.7248, allocations: 1.06 MB / 0.6316 GB, free: 26.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.646e-05/0.7249, allocations: 45.61 kB / 0.6316 GB, free: 26.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005441/0.7255, allocations: 0.5848 MB / 0.6322 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003638/0.7259, allocations: 374.4 kB / 0.6325 GB, free: 25.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.7259, allocations: 21.59 kB / 0.6326 GB, free: 25.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.7261, allocations: 344.9 kB / 0.6329 GB, free: 25.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.7273, allocations: 0.5061 MB / 0.6334 GB, free: 25.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.7286, allocations: 0.66 MB / 0.634 GB, free: 24.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.7299, allocations: 0.719 MB / 0.6347 GB, free: 24.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.7299, allocations: 4 kB / 0.6347 GB, free: 24.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006051/0.736, allocations: 2.134 MB / 0.6368 GB, free: 23.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001728/0.7362, allocations: 213.7 kB / 0.637 GB, free: 23.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005921/0.7421, allocations: 2.035 MB / 0.639 GB, free: 22.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/0.7438, allocations: 435.8 kB / 0.6394 GB, free: 22.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008476/0.7447, allocations: 139.9 kB / 0.6396 GB, free: 22.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.7564, allocations: 6.245 MB / 0.6456 GB, free: 17.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.7587, allocations: 124.6 kB / 0.6458 GB, free: 17.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005077/0.7592, allocations: 45.31 kB / 0.6458 GB, free: 17.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 7 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(2,100.0%) 8} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001685/0.7609, allocations: 0.5158 MB / 0.6463 GB, free: 17.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006154/0.7616, allocations: 133.9 kB / 0.6464 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006968/0.7685, allocations: 2.23 MB / 0.6486 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.7686, allocations: 9.656 kB / 0.6486 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/0.7686, allocations: 2.438 kB / 0.6486 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.7686, allocations: 6.203 kB / 0.6486 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.7716, allocations: 1.345 MB / 0.65 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006193/0.7778, allocations: 2.015 MB / 0.6519 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006522/0.7785, allocations: 113.6 kB / 0.652 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.7798, allocations: 426.4 kB / 0.6524 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/0.78, allocations: 38.38 kB / 0.6525 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/0.7901, allocations: 6.216 MB / 0.6585 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.7902, allocations: 0 / 0.6585 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007103/0.7973, allocations: 2.195 MB / 0.6607 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.7983, allocations: 377.3 kB / 0.661 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004195/0.7988, allocations: 24.31 kB / 0.6611 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.7999, allocations: 75.47 kB / 0.6611 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004549/0.8004, allocations: 115.3 kB / 0.6613 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/0.8006, allocations: 43.64 kB / 0.6613 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001724/0.8023, allocations: 0.7333 MB / 0.662 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8023, allocations: 0 / 0.662 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002195/0.8045, allocations: 417.3 kB / 0.6624 GB, free: 8.035 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: 9 ($whenCondition1,meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 1 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.008623/0.8131, allocations: 3.184 MB / 0.6655 GB, free: 22.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005628/0.8188, allocations: 2.308 MB / 0.6678 GB, free: 21.06 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.8188, allocations: 0 / 0.6678 GB, free: 21.06 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003618/0.8225, allocations: 1.633 MB / 0.6694 GB, free: 19.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.8251, allocations: 169.3 kB / 0.6695 GB, free: 19.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03283/0.858, allocations: 9.159 MB / 0.6785 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002617/0.8607, allocations: 1.203 MB / 0.6796 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001561/0.8623, allocations: 204.7 kB / 0.6798 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/0.8636, allocations: 0.5119 MB / 0.6803 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of SimCode: time 2.795e-06/0.8637, allocations: 0 / 0.6803 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.073/0.9367, allocations: 30.62 MB / 0.7102 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/0.937, allocations: 314 kB / 0.7105 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.331/4.268, allocations: 4 kB / 0.7105 GB, free: 3.844 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe ; mkfifo BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe >> ../files/BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_Building_BuildingEnvelope_HeatTransfer_Examples_WindowExample.fmu > BuildSysPro_BuildSysPro.Building.BuildingEnvelope.HeatTransfer.Examples.WindowExample.pipe 2>&1) Environment - environmentSimulation: