Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_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.00588/0.00588, allocations: 101.1 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.001403/0.001403, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.89 kB / 0.5851 GB, free: 3.871 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4801/0.4815, allocations: 80.91 MB / 0.6641 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005574/0.4871, allocations: 4.917 MB / 0.6689 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1788/0.6659, allocations: 150.9 MB / 0.8163 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.6673, allocations: 15.94 kB / 0.8163 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007567/0.6681, allocations: 206.1 kB / 0.8165 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.6703, allocations: 0.5911 MB / 0.8171 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.6726, allocations: 0.893 MB / 0.818 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001983/0.6746, allocations: 1.593 MB / 0.8195 GB, free: 1.902 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.6759, allocations: 1.06 MB / 0.8206 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.677, allocations: 0.6928 MB / 0.8212 GB, free: 112 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008922/0.6779, allocations: 0.7389 MB / 0.822 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000237/0.6782, allocations: 176 kB / 0.8221 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.6794, allocations: 0.5348 MB / 0.8227 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003623/0.6797, allocations: 422.6 kB / 0.8231 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007792/0.6805, allocations: 0.7772 MB / 0.8238 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002786/0.6833, allocations: 2.184 MB / 0.8259 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.6833, allocations: 3.938 kB / 0.826 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6833, allocations: 0 / 0.826 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.6834, allocations: 0 / 0.826 GB, free: 11.27 MB / 0.6544 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.003441/0.6868, allocations: 1.787 MB / 0.8277 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.6869, allocations: 8.031 kB / 0.8277 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002266/0.6871, allocations: 207.3 kB / 0.8279 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009915/0.6881, allocations: 242.7 kB / 0.8281 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.6895, allocations: 0.8953 MB / 0.829 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.761e-05/0.6896, allocations: 106.9 kB / 0.8291 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.6897, allocations: 132 kB / 0.8292 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.6919, allocations: 1.44 MB / 0.8306 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.692, allocations: 0 / 0.8306 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.6921, allocations: 60 kB / 0.8307 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.6921, allocations: 36 kB / 0.8307 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.6944, allocations: 1.509 MB / 0.8322 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006046/0.7005, allocations: 3.736 MB / 0.8359 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.7023, allocations: 0.9587 MB / 0.8368 GB, free: 15.92 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006396/0.7029, allocations: 399.7 kB / 0.8372 GB, free: 15.52 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.7031, allocations: 41 kB / 0.8372 GB, free: 15.48 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.7041, allocations: 0.5826 MB / 0.8378 GB, free: 14.88 MB / 0.67 GB Notification: Performance of pre-optimization done (n=104): time 4.819e-06/0.7041, allocations: 0 / 0.8378 GB, free: 14.88 MB / 0.67 GB Notification: Performance of matching and sorting (n=104): time 0.003776/0.7079, allocations: 1.477 MB / 0.8392 GB, free: 13.38 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.708, allocations: 193.1 kB / 0.8394 GB, free: 13.15 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.709, allocations: 0.7628 MB / 0.8402 GB, free: 12.38 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-05/0.7091, allocations: 45.7 kB / 0.8402 GB, free: 12.33 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/0.7095, allocations: 0.566 MB / 0.8407 GB, free: 11.75 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.7098, allocations: 339 kB / 0.8411 GB, free: 11.42 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003133/0.7101, allocations: 206.4 kB / 0.8413 GB, free: 11.21 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.7103, allocations: 341.9 kB / 0.8416 GB, free: 10.87 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006291/0.7109, allocations: 333.8 kB / 0.8419 GB, free: 10.54 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000745/0.7117, allocations: 470.4 kB / 0.8424 GB, free: 10.05 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.7131, allocations: 0.8078 MB / 0.8432 GB, free: 9.234 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.7131, allocations: 0 / 0.8432 GB, free: 9.234 MB / 0.67 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002437/0.7156, allocations: 1.063 MB / 0.8442 GB, free: 8.164 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.7156, allocations: 11.88 kB / 0.8442 GB, free: 8.152 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.7156, allocations: 0 / 0.8442 GB, free: 8.152 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000609/0.7162, allocations: 84.84 kB / 0.8443 GB, free: 8.066 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008938/0.7172, allocations: 211.7 kB / 0.8445 GB, free: 7.859 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/0.7194, allocations: 1.646 MB / 0.8461 GB, free: 6.066 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008246/0.7202, allocations: 109.6 kB / 0.8462 GB, free: 5.961 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.885e-05/0.7203, allocations: 43.97 kB / 0.8462 GB, free: 5.918 MB / 0.67 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.0005794/0.7209, allocations: 313.5 kB / 0.8465 GB, free: 5.602 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.7212, allocations: 102.8 kB / 0.8466 GB, free: 5.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003239/0.7244, allocations: 1.38 MB / 0.848 GB, free: 4.109 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.7244, allocations: 12 kB / 0.848 GB, free: 4.098 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7245, allocations: 4 kB / 0.848 GB, free: 4.094 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.7245, allocations: 3.984 kB / 0.848 GB, free: 4.09 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00469/0.7292, allocations: 2.56 MB / 0.8505 GB, free: 1.465 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.7292, allocations: 0 / 0.8505 GB, free: 1.465 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000808/0.73, allocations: 195.7 kB / 0.8507 GB, free: 1.273 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004496/0.7305, allocations: 72.78 kB / 0.8508 GB, free: 1.199 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-05/0.7306, allocations: 31.98 kB / 0.8508 GB, free: 1.168 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.7326, allocations: 1.674 MB / 0.8524 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.7326, allocations: 7.875 kB / 0.8524 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.7352, allocations: 1.166 MB / 0.8536 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000588/0.7358, allocations: 311.6 kB / 0.8539 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.736, allocations: 35.83 kB / 0.8539 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007825/0.7368, allocations: 62.12 kB / 0.854 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.737, allocations: 80.77 kB / 0.854 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.993e-05/0.7371, allocations: 47.97 kB / 0.8541 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009512/0.7381, allocations: 0.5732 MB / 0.8546 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7381, allocations: 0 / 0.8546 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001186/0.7393, allocations: 394.7 kB / 0.855 GB, free: 12.66 MB / 0.6856 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.00397/0.7432, allocations: 2.209 MB / 0.8572 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002106/0.7454, allocations: 1.011 MB / 0.8582 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.7454, allocations: 7.984 kB / 0.8582 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.7465, allocations: 0.6058 MB / 0.8588 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.748, allocations: 300.5 kB / 0.859 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.7645, allocations: 8.13 MB / 0.867 GB, free: 408 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3593/1.124, allocations: 1.157 MB / 0.8681 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001083/1.125, allocations: 300 kB / 0.8684 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007459/1.126, allocations: 0.5473 MB / 0.8689 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of SimCode: time 1.242e-06/1.126, allocations: 4.062 kB / 0.8689 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05738/1.183, allocations: 26.22 MB / 0.8945 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.42, allocations: 5.719 kB / 0.8945 GB, free: 179.5 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)