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.005586/0.005586, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001358/0.001358, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7408/0.7408, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 62.73 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1742, allocations: 80.2 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.009566/0.1838, allocations: 8.51 MB / 0.6675 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5645/0.7484, allocations: 156.1 MB / 0.82 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002659/0.7511, allocations: 37.25 kB / 0.82 GB, free: 2.934 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.001588/0.7527, allocations: 359.9 kB / 0.8204 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004176/0.7569, allocations: 0.8832 MB / 0.8212 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004792/0.7617, allocations: 1.414 MB / 0.8226 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007876/0.7696, allocations: 5.249 MB / 0.8277 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006003/0.7757, allocations: 3.07 MB / 0.8307 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006066/0.7818, allocations: 2.117 MB / 0.8328 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004656/0.7865, allocations: 2.168 MB / 0.8349 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002331/0.7889, allocations: 0.5263 MB / 0.8354 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004786/0.7937, allocations: 1.13 MB / 0.8365 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002451/0.7962, allocations: 1.161 MB / 0.8377 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00531/0.8016, allocations: 2.233 MB / 0.8398 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01141/0.813, allocations: 6.344 MB / 0.846 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.8131, allocations: 1.031 kB / 0.846 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.775e-06/0.8131, allocations: 0 / 0.846 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003266/0.8134, allocations: 0 / 0.846 GB, free: 0.6133 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.0164/0.8299, allocations: 4.607 MB / 0.8505 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.8299, allocations: 9.125 kB / 0.8505 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002383/0.8323, allocations: 0.4993 MB / 0.851 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.8433, allocations: 1.366 MB / 0.8524 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007092/0.8505, allocations: 2.43 MB / 0.8547 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000748/0.8513, allocations: 0.5104 MB / 0.8552 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002055/0.8533, allocations: 355.5 kB / 0.8556 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0183/0.8717, allocations: 5.216 MB / 0.8607 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.8718, allocations: 3.969 kB / 0.8607 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001298/0.8731, allocations: 156.1 kB / 0.8608 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-05/0.8732, allocations: 91.06 kB / 0.8609 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01601/0.8893, allocations: 5.556 MB / 0.8663 GB, free: 11.42 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.04179/0.9311, allocations: 19.16 MB / 0.885 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01395/0.9451, allocations: 4.477 MB / 0.8894 GB, free: 10.65 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005931/0.9511, allocations: 1.887 MB / 0.8913 GB, free: 9.59 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001459/0.9526, allocations: 1.09 MB / 0.8923 GB, free: 8.305 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006797/0.9594, allocations: 2.278 MB / 0.8945 GB, free: 5.98 MB / 0.67 GB Notification: Performance of pre-optimization done (n=259): time 1.048e-05/0.9595, allocations: 3.984 kB / 0.8946 GB, free: 5.977 MB / 0.67 GB Notification: Performance of matching and sorting (n=259): time 0.01978/0.9793, allocations: 5.816 MB / 0.9002 GB, free: 88 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.9795, allocations: 214 kB / 0.9004 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004642/0.9841, allocations: 2.211 MB / 0.9026 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0009177/0.9851, allocations: 81.69 kB / 0.9027 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001794/0.9869, allocations: 1.445 MB / 0.9041 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001617/0.9886, allocations: 0.8637 MB / 0.9049 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002536/0.9911, allocations: 0.6021 MB / 0.9055 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.347e-05/0.9912, allocations: 308.3 kB / 0.9058 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004773/0.996, allocations: 1.75 MB / 0.9075 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005468/1.002, allocations: 2.171 MB / 0.9096 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/1.012, allocations: 3.869 MB / 0.9134 GB, free: 2.242 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-05/1.012, allocations: 4 kB / 0.9134 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01664/1.029, allocations: 4.484 MB / 0.9178 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.866e-05/1.029, allocations: 34.17 kB / 0.9178 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/1.029, allocations: 12 kB / 0.9178 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006678/1.03, allocations: 91.97 kB / 0.9179 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004954/1.034, allocations: 0.8227 MB / 0.9187 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/1.037, allocations: 1.701 MB / 0.9204 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00485/1.042, allocations: 0.4992 MB / 0.9209 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/1.043, allocations: 155.8 kB / 0.921 GB, free: 10.31 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.003646/1.047, allocations: 1.022 MB / 0.922 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001375/1.048, allocations: 264.8 kB / 0.9223 GB, free: 9.051 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01605/1.064, allocations: 5.057 MB / 0.9272 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-05/1.064, allocations: 31.98 kB / 0.9273 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/1.064, allocations: 4 kB / 0.9273 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.665e-05/1.064, allocations: 11.95 kB / 0.9273 GB, free: 3.883 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02522/1.09, allocations: 8.977 MB / 0.936 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/1.09, allocations: 0 / 0.936 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004093/1.094, allocations: 0.6911 MB / 0.9367 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005748/1.094, allocations: 87.2 kB / 0.9368 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00073/1.095, allocations: 79.88 kB / 0.9369 GB, free: 9.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/1.097, allocations: 1.72 MB / 0.9385 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.097, allocations: 4 kB / 0.9386 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/1.109, allocations: 3.968 MB / 0.9424 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002984/1.112, allocations: 0.8171 MB / 0.9432 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001462/1.114, allocations: 75.69 kB / 0.9433 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004647/1.119, allocations: 315.5 kB / 0.9436 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/1.12, allocations: 193.2 kB / 0.9438 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000703/1.12, allocations: 99.94 kB / 0.9439 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004046/1.124, allocations: 1.699 MB / 0.9455 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.41e-07/1.124, allocations: 0 / 0.9455 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004941/1.129, allocations: 1.024 MB / 0.9465 GB, free: 15.79 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.01476/1.144, allocations: 5.129 MB / 0.9515 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01195/1.156, allocations: 4.098 MB / 0.9555 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/1.156, allocations: 0 / 0.9555 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006068/1.162, allocations: 2.063 MB / 0.9576 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004713/1.167, allocations: 0.4946 MB / 0.958 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07086/1.238, allocations: 27.49 MB / 0.9849 GB, free: 8.402 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003225/1.241, allocations: 2.524 MB / 0.9873 GB, free: 5.852 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004573/1.246, allocations: 0.961 MB / 0.9883 GB, free: 4.887 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003635/1.25, allocations: 1.56 MB / 0.9898 GB, free: 3.328 MB / 0.7637 GB Notification: Performance of SimCode: time 1.412e-06/1.25, allocations: 0 / 0.9898 GB, free: 3.328 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1357/1.385, allocations: 70.63 MB / 1.059 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/17.39, allocations: 10.02 kB / 1.059 GB, free: 13.31 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)