Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.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/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.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_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.005228/0.005228, allocations: 98.67 kB / 15.73 MB, free: 5.988 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.001293/0.001293, allocations: 199.3 kB / 16.68 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7752/0.7752, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 70.83 kB / 0.5808 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1706, allocations: 80.21 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007222/0.1778, allocations: 4.914 MB / 0.664 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1595/0.3374, allocations: 150.9 MB / 0.8113 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000897/0.3383, allocations: 19.94 kB / 0.8114 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006765/0.339, allocations: 194.1 kB / 0.8116 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.3408, allocations: 0.5751 MB / 0.8121 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.3939/0.7347, allocations: 0.8897 MB / 0.813 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002559/0.7373, allocations: 1.59 MB / 0.8145 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.739, allocations: 1.057 MB / 0.8156 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.7405, allocations: 0.6918 MB / 0.8162 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.7416, allocations: 0.7341 MB / 0.817 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000389/0.742, allocations: 175.9 kB / 0.8171 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.7436, allocations: 0.5343 MB / 0.8177 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005135/0.7441, allocations: 422.2 kB / 0.8181 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.7453, allocations: 0.7773 MB / 0.8188 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003654/0.7489, allocations: 2.19 MB / 0.821 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.7489, allocations: 0 / 0.821 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.914e-06/0.749, allocations: 0.8438 kB / 0.821 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.866e-05/0.749, allocations: 1 kB / 0.821 GB, free: 3.074 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003589/0.7526, allocations: 1.774 MB / 0.8227 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.7527, allocations: 11.7 kB / 0.8227 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002874/0.7529, allocations: 211.3 kB / 0.8229 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.7541, allocations: 236.3 kB / 0.8231 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.7557, allocations: 0.9031 MB / 0.824 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.639e-05/0.7558, allocations: 110 kB / 0.8241 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.756, allocations: 138 kB / 0.8242 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/0.7584, allocations: 1.429 MB / 0.8256 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.7585, allocations: 1.125 kB / 0.8256 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.7586, allocations: 60.31 kB / 0.8257 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.7586, allocations: 34.56 kB / 0.8257 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.761, allocations: 1.511 MB / 0.8272 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006016/0.7671, allocations: 3.734 MB / 0.8309 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.7687, allocations: 0.9594 MB / 0.8318 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007317/0.7695, allocations: 402.8 kB / 0.8322 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.7696, allocations: 50.88 kB / 0.8322 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.7707, allocations: 0.5733 MB / 0.8328 GB, free: 484 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=104): time 2.745e-06/0.7707, allocations: 1 kB / 0.8328 GB, free: 484 kB / 0.6387 GB Notification: Performance of matching and sorting (n=104): time 0.003709/0.7745, allocations: 1.476 MB / 0.8342 GB, free: 268 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000163/0.7746, allocations: 198.2 kB / 0.8344 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009854/0.7756, allocations: 0.7606 MB / 0.8352 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.977e-05/0.7757, allocations: 47.08 kB / 0.8352 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003911/0.7761, allocations: 0.5552 MB / 0.8357 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.7764, allocations: 347.3 kB / 0.8361 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.7767, allocations: 200.1 kB / 0.8363 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7768, allocations: 349.3 kB / 0.8366 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005489/0.7774, allocations: 338.3 kB / 0.8369 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006844/0.7781, allocations: 466.6 kB / 0.8374 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.7794, allocations: 0.8055 MB / 0.8382 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.7794, allocations: 0.9062 kB / 0.8382 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002387/0.7818, allocations: 1.065 MB / 0.8392 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.7818, allocations: 5.031 kB / 0.8392 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.7818, allocations: 0.8438 kB / 0.8392 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/0.7825, allocations: 90.58 kB / 0.8393 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009133/0.7834, allocations: 216 kB / 0.8395 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.7859, allocations: 1.64 MB / 0.8411 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000846/0.7867, allocations: 110.6 kB / 0.8412 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/0.7868, allocations: 42.27 kB / 0.8412 GB, free: 13.38 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 116 * 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.0005827/0.7874, allocations: 313.8 kB / 0.8415 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.7876, allocations: 102 kB / 0.8416 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002938/0.7905, allocations: 1.379 MB / 0.843 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.7906, allocations: 14.56 kB / 0.843 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.7906, allocations: 3.938 kB / 0.843 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.7906, allocations: 6.422 kB / 0.843 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004008/0.7946, allocations: 2.564 MB / 0.8455 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.7946, allocations: 1 kB / 0.8455 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000744/0.7954, allocations: 194.3 kB / 0.8457 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004265/0.7958, allocations: 68.78 kB / 0.8458 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-05/0.7959, allocations: 32.41 kB / 0.8458 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.7979, allocations: 1.679 MB / 0.8474 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7979, allocations: 0 / 0.8474 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.8001, allocations: 1.169 MB / 0.8486 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004421/0.8005, allocations: 322.7 kB / 0.8489 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.8007, allocations: 32.97 kB / 0.8489 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007008/0.8014, allocations: 59.2 kB / 0.849 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.8015, allocations: 77.7 kB / 0.849 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.011e-05/0.8016, allocations: 39.22 kB / 0.8491 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007013/0.8023, allocations: 0.5776 MB / 0.8496 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.62e-07/0.8023, allocations: 0 / 0.8496 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001056/0.8034, allocations: 394.8 kB / 0.85 GB, free: 10.73 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0035/0.8069, allocations: 2.22 MB / 0.8522 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001789/0.8087, allocations: 1.007 MB / 0.8532 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8087, allocations: 2.844 kB / 0.8532 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000908/0.8096, allocations: 0.6053 MB / 0.8538 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.811, allocations: 304.2 kB / 0.8541 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/0.8244, allocations: 8.109 MB / 0.862 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008349/0.8253, allocations: 1.171 MB / 0.8631 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00105/0.8264, allocations: 298.3 kB / 0.8634 GB, free: 6.676 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006718/0.8271, allocations: 0.5498 MB / 0.8639 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of SimCode: time 7.72e-07/0.8271, allocations: 0 / 0.8639 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05967/0.8867, allocations: 26.73 MB / 0.89 GB, free: 7.723 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.51, allocations: 11.67 kB / 0.89 GB, free: 7.715 MB / 0.67 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)