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.004408/0.004408, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001162/0.001162, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7829/0.7829, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 68.3 kB / 0.5809 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.147, allocations: 80.2 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.01095/0.1579, allocations: 8.497 MB / 0.6675 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4879/0.6458, allocations: 156.1 MB / 0.82 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002355/0.6483, allocations: 37.53 kB / 0.82 GB, free: 2.938 MB / 0.6387 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.00121/0.6495, allocations: 359.6 kB / 0.8204 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003324/0.6528, allocations: 0.8815 MB / 0.8212 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003475/0.6563, allocations: 1.42 MB / 0.8226 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005532/0.6618, allocations: 5.246 MB / 0.8277 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003856/0.6657, allocations: 3.07 MB / 0.8307 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00388/0.6696, allocations: 2.085 MB / 0.8328 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003404/0.673, allocations: 2.165 MB / 0.8349 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001001/0.674, allocations: 0.5262 MB / 0.8354 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/0.6766, allocations: 1.136 MB / 0.8365 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008534/0.6774, allocations: 1.161 MB / 0.8376 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002455/0.6799, allocations: 2.239 MB / 0.8398 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005696/0.6856, allocations: 6.363 MB / 0.846 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6856, allocations: 0 / 0.846 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6856, allocations: 0.8438 kB / 0.846 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000122/0.6858, allocations: 0 / 0.846 GB, free: 0.5898 MB / 0.6387 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.008833/0.6946, allocations: 4.723 MB / 0.8506 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.6947, allocations: 8.281 kB / 0.8507 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005601/0.6952, allocations: 0.5 MB / 0.8511 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009046/0.7043, allocations: 1.388 MB / 0.8525 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003926/0.7082, allocations: 2.444 MB / 0.8549 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004212/0.7087, allocations: 0.5094 MB / 0.8554 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006203/0.7093, allocations: 361.9 kB / 0.8557 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009843/0.7191, allocations: 5.213 MB / 0.8608 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.329e-05/0.7192, allocations: 5.344 kB / 0.8608 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003965/0.7196, allocations: 153.4 kB / 0.861 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-05/0.7197, allocations: 90.44 kB / 0.8611 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/0.7315, allocations: 5.561 MB / 0.8665 GB, free: 11.25 MB / 0.6544 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.02856/0.7601, allocations: 19.2 MB / 0.8852 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/0.7715, allocations: 4.472 MB / 0.8896 GB, free: 10.45 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004627/0.7761, allocations: 1.887 MB / 0.8914 GB, free: 9.406 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/0.7774, allocations: 1.089 MB / 0.8925 GB, free: 8.121 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005324/0.7828, allocations: 2.271 MB / 0.8947 GB, free: 5.801 MB / 0.67 GB Notification: Performance of pre-optimization done (n=259): time 4.118e-06/0.7828, allocations: 0 / 0.8947 GB, free: 5.801 MB / 0.67 GB Notification: Performance of matching and sorting (n=259): time 0.01571/0.7985, allocations: 5.833 MB / 0.9004 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.7987, allocations: 215.8 kB / 0.9006 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003406/0.8021, allocations: 2.215 MB / 0.9028 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004237/0.8025, allocations: 73.7 kB / 0.9029 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001468/0.804, allocations: 1.479 MB / 0.9043 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001085/0.8051, allocations: 0.9077 MB / 0.9052 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.8062, allocations: 0.6063 MB / 0.9058 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.8063, allocations: 304.2 kB / 0.9061 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00448/0.8108, allocations: 1.75 MB / 0.9078 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004969/0.8158, allocations: 2.179 MB / 0.9099 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009421/0.8252, allocations: 3.867 MB / 0.9137 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.8253, allocations: 4 kB / 0.9137 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01173/0.837, allocations: 4.501 MB / 0.9181 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.608e-05/0.8371, allocations: 33.7 kB / 0.9181 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.8371, allocations: 8 kB / 0.9181 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/0.8377, allocations: 100.4 kB / 0.9182 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004062/0.8418, allocations: 0.8188 MB / 0.919 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.8441, allocations: 1.714 MB / 0.9207 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004054/0.8482, allocations: 0.4939 MB / 0.9212 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004121/0.8486, allocations: 155.8 kB / 0.9213 GB, free: 10.03 MB / 0.7012 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.002074/0.8507, allocations: 1.027 MB / 0.9223 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007358/0.8514, allocations: 270.3 kB / 0.9226 GB, free: 8.762 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/0.8636, allocations: 5.061 MB / 0.9275 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/0.8636, allocations: 28 kB / 0.9276 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.8636, allocations: 4 kB / 0.9276 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.738e-05/0.8637, allocations: 11.95 kB / 0.9276 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/0.8816, allocations: 8.993 MB / 0.9364 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.8817, allocations: 4 kB / 0.9364 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003394/0.8851, allocations: 0.6872 MB / 0.937 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004766/0.8856, allocations: 84.78 kB / 0.9371 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002375/0.8858, allocations: 79.88 kB / 0.9372 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.8879, allocations: 1.715 MB / 0.9389 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.8879, allocations: 11.92 kB / 0.9389 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0098/0.8977, allocations: 3.985 MB / 0.9428 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/0.8995, allocations: 0.8263 MB / 0.9436 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005469/0.9, allocations: 82.92 kB / 0.9437 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002758/0.9028, allocations: 307.5 kB / 0.9439 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004143/0.9032, allocations: 194.1 kB / 0.9441 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/0.9035, allocations: 107.9 kB / 0.9442 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002576/0.9061, allocations: 1.699 MB / 0.9459 GB, free: 492 kB / 0.7169 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9061, allocations: 0 / 0.9459 GB, free: 492 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002714/0.9088, allocations: 1.028 MB / 0.9469 GB, free: 15.45 MB / 0.7325 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.01195/0.9208, allocations: 5.151 MB / 0.9519 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01049/0.9313, allocations: 4.098 MB / 0.9559 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.9313, allocations: 4.25 kB / 0.9559 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004784/0.9361, allocations: 2.055 MB / 0.9579 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/0.9387, allocations: 0.5006 MB / 0.9584 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05541/0.9941, allocations: 27.61 MB / 0.9854 GB, free: 7.902 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/0.9964, allocations: 2.52 MB / 0.9879 GB, free: 5.355 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003383/0.9998, allocations: 0.9688 MB / 0.9888 GB, free: 4.383 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002642/1.002, allocations: 1.56 MB / 0.9903 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of SimCode: time 4.91e-07/1.003, allocations: 0 / 0.9903 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.014/2.017, allocations: 69.35 MB / 1.058 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.89/19.91, allocations: 13.95 kB / 1.058 GB, free: 14.08 MB / 0.8419 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)