Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.001213/0.001213, allocations: 99.27 kB / 16.27 MB, free: 5.965 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.001215/0.001215, allocations: 190.2 kB / 17.2 MB, free: 5.594 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.189/1.189, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6839/0.6839, allocations: 122.8 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 71.88 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2736, allocations: 77.92 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004912/0.2786, allocations: 4.955 MB / 0.5721 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1294/0.408, allocations: 150.8 MB / 0.7194 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008082/0.4089, allocations: 19.88 kB / 0.7194 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004804/0.4093, allocations: 194.1 kB / 0.7196 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.4109, allocations: 0.5818 MB / 0.7202 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.4125, allocations: 0.8371 MB / 0.721 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.4135, allocations: 1.436 MB / 0.7224 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006751/0.4142, allocations: 0.591 MB / 0.723 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004358/0.4146, allocations: 0.5022 MB / 0.7235 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004728/0.4151, allocations: 0.5406 MB / 0.724 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.4153, allocations: 120 kB / 0.7241 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005976/0.4159, allocations: 471.6 kB / 0.7245 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.4161, allocations: 303 kB / 0.7248 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004067/0.4165, allocations: 0.5869 MB / 0.7254 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.4177, allocations: 1.643 MB / 0.727 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.4178, allocations: 3.938 kB / 0.727 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4178, allocations: 4 kB / 0.727 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.4178, allocations: 0 / 0.727 GB, free: 6.672 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002134/0.4199, allocations: 1.483 MB / 0.7285 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.42, allocations: 8.625 kB / 0.7285 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.4201, allocations: 139.7 kB / 0.7286 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007952/0.4209, allocations: 195.3 kB / 0.7288 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008336/0.4217, allocations: 0.7623 MB / 0.7295 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.4218, allocations: 66 kB / 0.7296 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.59e-05/0.4219, allocations: 84 kB / 0.7297 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.4232, allocations: 0.9691 MB / 0.7306 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.4233, allocations: 4 kB / 0.7306 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.168e-05/0.4233, allocations: 36 kB / 0.7307 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.4234, allocations: 23.94 kB / 0.7307 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.4249, allocations: 1.155 MB / 0.7318 GB, free: 1.613 MB / 0.5606 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.003427/0.4284, allocations: 2.897 MB / 0.7346 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.4297, allocations: 0.8448 MB / 0.7355 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004956/0.4302, allocations: 323.3 kB / 0.7358 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.556e-05/0.4303, allocations: 36.67 kB / 0.7358 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007759/0.4311, allocations: 0.5314 MB / 0.7363 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 1.854e-06/0.4311, allocations: 0 / 0.7363 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.002931/0.4341, allocations: 1.294 MB / 0.7376 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.4341, allocations: 192.9 kB / 0.7378 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006266/0.4348, allocations: 0.6528 MB / 0.7384 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.794e-05/0.4348, allocations: 41.7 kB / 0.7385 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.4351, allocations: 412.3 kB / 0.7389 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.4353, allocations: 283.9 kB / 0.7391 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.4355, allocations: 166.5 kB / 0.7393 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.4356, allocations: 386.8 kB / 0.7397 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.4361, allocations: 269.8 kB / 0.7399 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005687/0.4367, allocations: 390.5 kB / 0.7403 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.4377, allocations: 0.6398 MB / 0.7409 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4377, allocations: 0 / 0.7409 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001745/0.4395, allocations: 0.876 MB / 0.7418 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.4395, allocations: 8 kB / 0.7418 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4395, allocations: 0 / 0.7418 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005306/0.4401, allocations: 80.78 kB / 0.7418 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.4407, allocations: 175.7 kB / 0.742 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1477/0.5884, allocations: 1.631 MB / 0.7436 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/0.5891, allocations: 96.25 kB / 0.7437 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.5892, allocations: 35.97 kB / 0.7437 GB, free: 4.965 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * 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.0003355/0.5896, allocations: 281.4 kB / 0.744 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.5897, allocations: 86.88 kB / 0.7441 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.592, allocations: 1.164 MB / 0.7452 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/0.592, allocations: 12 kB / 0.7452 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5921, allocations: 3.984 kB / 0.7452 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.5921, allocations: 7.984 kB / 0.7452 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008576/0.5929, allocations: 0.9386 MB / 0.7462 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5929, allocations: 0 / 0.7462 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/0.5935, allocations: 155.8 kB / 0.7463 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004085/0.5939, allocations: 76.73 kB / 0.7464 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/0.594, allocations: 31.97 kB / 0.7464 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.5956, allocations: 1.654 MB / 0.748 GB, free: 344 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5956, allocations: 3.984 kB / 0.748 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1842/0.7798, allocations: 0.986 MB / 0.749 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/0.7802, allocations: 279.9 kB / 0.7493 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.7804, allocations: 28.7 kB / 0.7493 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/0.7811, allocations: 68.45 kB / 0.7494 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.7813, allocations: 78.91 kB / 0.7494 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-05/0.7813, allocations: 40.09 kB / 0.7495 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005674/0.7819, allocations: 484.2 kB / 0.7499 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7819, allocations: 2.625 kB / 0.7499 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007743/0.7827, allocations: 333.2 kB / 0.7503 GB, free: 170.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003157/0.7859, allocations: 2.048 MB / 0.7523 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002292/0.7882, allocations: 1.076 MB / 0.7533 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7882, allocations: 0.7812 kB / 0.7533 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009614/0.7892, allocations: 0.5508 MB / 0.7538 GB, free: 169 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.7903, allocations: 313 kB / 0.7541 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008819/0.7991, allocations: 6.753 MB / 0.7607 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.7996, allocations: 1.041 MB / 0.7617 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007533/0.8003, allocations: 269.8 kB / 0.762 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004492/0.8008, allocations: 411 kB / 0.7624 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.8008, allocations: 0 / 0.7624 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.364/3.165, allocations: 22.46 MB / 0.7843 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/17.03, allocations: 10.48 kB / 0.7843 GB, free: 150.3 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)