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.006277/0.006277, allocations: 98.66 kB / 15.73 MB, free: 5.547 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.00122/0.001221, allocations: 188.2 kB / 16.67 MB, free: 5.492 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9595/0.9595, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 55.91 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5095/0.5109, allocations: 80.9 MB / 0.6641 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006385/0.5173, allocations: 4.921 MB / 0.6689 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1806/0.6979, allocations: 150.9 MB / 0.8163 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009352/0.6989, allocations: 19.94 kB / 0.8163 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000674/0.6997, allocations: 198.1 kB / 0.8165 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.7018, allocations: 0.5856 MB / 0.8171 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.7041, allocations: 0.8878 MB / 0.8179 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00145/0.7056, allocations: 1.585 MB / 0.8195 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.7069, allocations: 1.06 MB / 0.8205 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009721/0.7078, allocations: 0.7005 MB / 0.8212 GB, free: 72 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008746/0.7087, allocations: 0.7234 MB / 0.8219 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.7089, allocations: 176 kB / 0.8221 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008641/0.7098, allocations: 0.5464 MB / 0.8226 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003013/0.7101, allocations: 418.6 kB / 0.823 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007851/0.7109, allocations: 0.7811 MB / 0.8238 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.713, allocations: 2.177 MB / 0.8259 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.713, allocations: 0 / 0.8259 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.693e-06/0.713, allocations: 0 / 0.8259 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.909e-05/0.7131, allocations: 8 kB / 0.8259 GB, free: 11.24 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.002964/0.716, allocations: 1.783 MB / 0.8277 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.7161, allocations: 12.03 kB / 0.8277 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002802/0.7164, allocations: 211.3 kB / 0.8279 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009245/0.7173, allocations: 238.8 kB / 0.8281 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.7186, allocations: 0.9031 MB / 0.829 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.968e-05/0.7187, allocations: 110.8 kB / 0.8291 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.7189, allocations: 136 kB / 0.8292 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.7212, allocations: 1.424 MB / 0.8306 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.7212, allocations: 0 / 0.8306 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.7214, allocations: 60 kB / 0.8307 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.7214, allocations: 32 kB / 0.8307 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.7238, allocations: 1.521 MB / 0.8322 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00582/0.7296, allocations: 3.735 MB / 0.8358 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.7314, allocations: 0.9502 MB / 0.8368 GB, free: 15.89 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007003/0.7321, allocations: 403.7 kB / 0.8371 GB, free: 15.49 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.222e-05/0.7322, allocations: 53 kB / 0.8372 GB, free: 15.44 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009573/0.7332, allocations: 0.5748 MB / 0.8378 GB, free: 14.85 MB / 0.67 GB Notification: Performance of pre-optimization done (n=104): time 2.244e-06/0.7332, allocations: 0 / 0.8378 GB, free: 14.85 MB / 0.67 GB Notification: Performance of matching and sorting (n=104): time 0.003604/0.7368, allocations: 1.477 MB / 0.8392 GB, free: 13.34 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.7369, allocations: 197.1 kB / 0.8394 GB, free: 13.11 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009004/0.7378, allocations: 0.7745 MB / 0.8401 GB, free: 12.33 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.908e-05/0.7379, allocations: 41.7 kB / 0.8402 GB, free: 12.28 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004127/0.7383, allocations: 0.5504 MB / 0.8407 GB, free: 11.72 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003743/0.7387, allocations: 346.9 kB / 0.841 GB, free: 11.38 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003748/0.7391, allocations: 198.4 kB / 0.8412 GB, free: 11.18 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7392, allocations: 341.9 kB / 0.8416 GB, free: 10.84 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006771/0.7399, allocations: 341.8 kB / 0.8419 GB, free: 10.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007237/0.7406, allocations: 462.5 kB / 0.8423 GB, free: 10.02 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.742, allocations: 0.8078 MB / 0.8431 GB, free: 9.203 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.742, allocations: 4 kB / 0.8431 GB, free: 9.199 MB / 0.67 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002347/0.7444, allocations: 1.059 MB / 0.8442 GB, free: 8.133 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.7444, allocations: 11.94 kB / 0.8442 GB, free: 8.121 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.7444, allocations: 0 / 0.8442 GB, free: 8.121 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.745, allocations: 84.83 kB / 0.8442 GB, free: 8.035 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009044/0.746, allocations: 215.6 kB / 0.8445 GB, free: 7.824 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.7481, allocations: 1.642 MB / 0.8461 GB, free: 6.035 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007387/0.7488, allocations: 107 kB / 0.8462 GB, free: 5.93 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.899e-05/0.7489, allocations: 47.95 kB / 0.8462 GB, free: 5.883 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.0005158/0.7495, allocations: 309.6 kB / 0.8465 GB, free: 5.57 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.7496, allocations: 103 kB / 0.8466 GB, free: 5.469 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002966/0.7526, allocations: 1.38 MB / 0.8479 GB, free: 4.078 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.7526, allocations: 12 kB / 0.848 GB, free: 4.066 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.7526, allocations: 0 / 0.848 GB, free: 4.066 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.7527, allocations: 15.95 kB / 0.848 GB, free: 4.051 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004088/0.7568, allocations: 2.56 MB / 0.8505 GB, free: 1.426 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.7568, allocations: 0 / 0.8505 GB, free: 1.426 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008183/0.7576, allocations: 183.8 kB / 0.8506 GB, free: 1.246 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.7581, allocations: 80.72 kB / 0.8507 GB, free: 1.164 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.494e-05/0.7581, allocations: 27.98 kB / 0.8508 GB, free: 1.137 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.76, allocations: 1.678 MB / 0.8524 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.76, allocations: 0 / 0.8524 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.7623, allocations: 1.177 MB / 0.8535 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004769/0.7628, allocations: 319.4 kB / 0.8538 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.763, allocations: 31.84 kB / 0.8539 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006797/0.7636, allocations: 63.17 kB / 0.8539 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.7638, allocations: 80.83 kB / 0.854 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.066e-05/0.7639, allocations: 35.98 kB / 0.854 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008229/0.7647, allocations: 0.5771 MB / 0.8546 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7647, allocations: 0 / 0.8546 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001034/0.7658, allocations: 394.7 kB / 0.855 GB, free: 12.62 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.003716/0.7695, allocations: 2.223 MB / 0.8572 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001965/0.7715, allocations: 0.9951 MB / 0.8581 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7715, allocations: 4.188 kB / 0.8581 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.7726, allocations: 0.6095 MB / 0.8587 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.774, allocations: 315.8 kB / 0.859 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.7877, allocations: 8.121 MB / 0.867 GB, free: 376 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3332/1.121, allocations: 1.16 MB / 0.8681 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001157/1.122, allocations: 302.4 kB / 0.8684 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007308/1.123, allocations: 0.5475 MB / 0.8689 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of SimCode: time 1.052e-06/1.123, allocations: 0.9688 kB / 0.8689 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08612/1.209, allocations: 26.71 MB / 0.895 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/14.21, allocations: 1.594 kB / 0.895 GB, free: 179.1 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)