Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Buildings.Components.Examples.HorizontalFinExample,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.Examples.HorizontalFinExample,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample",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.005711/0.005711, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.00126/0.00126, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.218/1.218, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7395/0.7395, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 64.66 kB / 0.5809 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.137, allocations: 80.22 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.01036/0.1474, allocations: 8.492 MB / 0.6675 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4722/0.6196, allocations: 156.2 MB / 0.82 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.6213, allocations: 35.38 kB / 0.82 GB, free: 8.184 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Examples/HorizontalFinExample.mo:7:3-8:71:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001259/0.6226, allocations: 367.3 kB / 0.8204 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003673/0.6263, allocations: 0.8915 MB / 0.8212 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00445/0.6308, allocations: 1.428 MB / 0.8226 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005596/0.6364, allocations: 5.241 MB / 0.8278 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004822/0.6412, allocations: 3.085 MB / 0.8308 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003848/0.6451, allocations: 2.105 MB / 0.8328 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003763/0.6489, allocations: 2.165 MB / 0.8349 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001631/0.6505, allocations: 0.5273 MB / 0.8354 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002978/0.6535, allocations: 1.136 MB / 0.8366 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.6551, allocations: 1.159 MB / 0.8377 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003483/0.6586, allocations: 2.235 MB / 0.8399 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007567/0.6661, allocations: 6.341 MB / 0.8461 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.6662, allocations: 4 kB / 0.8461 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6662, allocations: 2.938 kB / 0.8461 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002776/0.6665, allocations: 0 / 0.8461 GB, free: 6.766 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 937 * Number of variables: 937 Notification: Performance of Generate backend data structure: time 0.01026/0.6767, allocations: 4.612 MB / 0.8506 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.6768, allocations: 8.031 kB / 0.8506 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006132/0.6774, allocations: 0.498 MB / 0.8511 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008473/0.6859, allocations: 1.36 MB / 0.8524 GB, free: 320 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004189/0.6901, allocations: 2.425 MB / 0.8548 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004208/0.6905, allocations: 0.5165 MB / 0.8553 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008333/0.6914, allocations: 360 kB / 0.8556 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009766/0.7012, allocations: 5.211 MB / 0.8607 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.997e-05/0.7013, allocations: 3.938 kB / 0.8607 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003587/0.7016, allocations: 152 kB / 0.8609 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.054e-05/0.7017, allocations: 92 kB / 0.8609 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/0.7129, allocations: 5.562 MB / 0.8664 GB, free: 1.797 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02836/0.7413, allocations: 19.15 MB / 0.8851 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/0.7518, allocations: 4.464 MB / 0.8894 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00403/0.7559, allocations: 1.884 MB / 0.8913 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/0.7571, allocations: 1.093 MB / 0.8923 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005337/0.7625, allocations: 2.286 MB / 0.8946 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=259): time 8.445e-06/0.7625, allocations: 0 / 0.8946 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of matching and sorting (n=259): time 0.01519/0.7777, allocations: 5.812 MB / 0.9003 GB, free: 13.47 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.7779, allocations: 209.9 kB / 0.9005 GB, free: 13.22 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003678/0.7816, allocations: 2.226 MB / 0.9026 GB, free: 10.96 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005055/0.7821, allocations: 73.7 kB / 0.9027 GB, free: 10.88 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.7834, allocations: 1.446 MB / 0.9041 GB, free: 9.422 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/0.7844, allocations: 0.8548 MB / 0.9049 GB, free: 8.555 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001691/0.7861, allocations: 0.606 MB / 0.9055 GB, free: 7.941 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.434e-05/0.7862, allocations: 301.1 kB / 0.9058 GB, free: 7.645 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004195/0.7904, allocations: 1.754 MB / 0.9075 GB, free: 5.887 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004521/0.795, allocations: 2.171 MB / 0.9097 GB, free: 3.578 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008603/0.8036, allocations: 3.872 MB / 0.9134 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.8037, allocations: 0 / 0.9134 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01152/0.8152, allocations: 4.494 MB / 0.9178 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.627e-05/0.8153, allocations: 41.7 kB / 0.9179 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.8153, allocations: 4 kB / 0.9179 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/0.8159, allocations: 100.8 kB / 0.918 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004018/0.8199, allocations: 0.8188 MB / 0.9188 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.8221, allocations: 1.713 MB / 0.9204 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00397/0.8261, allocations: 0.4971 MB / 0.9209 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006063/0.8267, allocations: 147.8 kB / 0.9211 GB, free: 7.555 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 17 (sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (327): * Single equations (assignments): 325 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00241/0.8291, allocations: 1.022 MB / 0.9221 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/0.8301, allocations: 256.8 kB / 0.9223 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/0.8424, allocations: 5.069 MB / 0.9273 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/0.8425, allocations: 28 kB / 0.9273 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.8425, allocations: 0 / 0.9273 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.843e-05/0.8425, allocations: 11.95 kB / 0.9273 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/0.8608, allocations: 8.977 MB / 0.9361 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.8608, allocations: 0 / 0.9361 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003333/0.8642, allocations: 0.6904 MB / 0.9367 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/0.8646, allocations: 92.66 kB / 0.9368 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002951/0.865, allocations: 75.94 kB / 0.9369 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.8668, allocations: 1.721 MB / 0.9386 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.8668, allocations: 0 / 0.9386 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009321/0.8762, allocations: 3.968 MB / 0.9425 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/0.8779, allocations: 0.8248 MB / 0.9433 GB, free: 272 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007321/0.8786, allocations: 83.53 kB / 0.9433 GB, free: 188 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002851/0.8815, allocations: 307.6 kB / 0.9436 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004343/0.8819, allocations: 198.1 kB / 0.9438 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002771/0.8822, allocations: 103.9 kB / 0.9439 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002977/0.8852, allocations: 1.699 MB / 0.9456 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8852, allocations: 0 / 0.9456 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003026/0.8883, allocations: 1.02 MB / 0.9466 GB, free: 12.85 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext,pulse.T_start,pulse.count) * Number of discrete states: 3 (pulse.count,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01073/0.899, allocations: 5.112 MB / 0.9516 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009396/0.9084, allocations: 4.101 MB / 0.9556 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.9085, allocations: 0 / 0.9556 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00466/0.9131, allocations: 2.07 MB / 0.9576 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/0.9167, allocations: 0.4912 MB / 0.9581 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05817/0.9749, allocations: 27.49 MB / 0.9849 GB, free: 5.219 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002683/0.9777, allocations: 2.513 MB / 0.9874 GB, free: 2.676 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003969/0.9816, allocations: 0.9674 MB / 0.9883 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002935/0.9846, allocations: 1.561 MB / 0.9898 GB, free: 148 kB / 0.7481 GB Notification: Performance of SimCode: time 6.81e-07/0.9846, allocations: 0 / 0.9898 GB, free: 148 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4495/1.434, allocations: 69.36 MB / 1.058 GB, free: 307.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.52/17.95, allocations: 7.203 kB / 1.058 GB, free: 307.4 MB / 0.8106 GB (rm -f IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample_fmu --startTime=2e+06 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample.fmu > IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe 2>&1)