Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.006186/0.006186, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001209/0.001209, allocations: 189.7 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9585/0.9585, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.91 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4252, allocations: 80.9 MB / 0.6641 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005588/0.4309, allocations: 4.124 MB / 0.6682 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.166/0.5969, allocations: 150.5 MB / 0.8151 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008137/0.5978, allocations: 19.88 kB / 0.8151 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007401/0.5986, allocations: 166.5 kB / 0.8153 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.6005, allocations: 476.7 kB / 0.8157 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.6025, allocations: 0.7962 MB / 0.8165 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001511/0.604, allocations: 1.18 MB / 0.8177 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009562/0.605, allocations: 0.6254 MB / 0.8183 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006728/0.6057, allocations: 434.5 kB / 0.8187 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006715/0.6064, allocations: 451.9 kB / 0.8191 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002377/0.6066, allocations: 100 kB / 0.8192 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.6078, allocations: 475.5 kB / 0.8197 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003335/0.6081, allocations: 267.1 kB / 0.8199 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007136/0.6089, allocations: 0.5013 MB / 0.8204 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.6111, allocations: 1.48 MB / 0.8219 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6112, allocations: 0 / 0.8219 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6112, allocations: 0 / 0.8219 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.625e-05/0.6112, allocations: 0 / 0.8219 GB, free: 15.45 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002756/0.614, allocations: 1.33 MB / 0.8232 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.614, allocations: 8.031 kB / 0.8232 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002148/0.6143, allocations: 131.1 kB / 0.8233 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.6153, allocations: 183.5 kB / 0.8235 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.6165, allocations: 0.7266 MB / 0.8242 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/0.6166, allocations: 58 kB / 0.8242 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.6167, allocations: 72 kB / 0.8243 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.6182, allocations: 0.8715 MB / 0.8252 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.6182, allocations: 0 / 0.8252 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.247e-05/0.6183, allocations: 39.94 kB / 0.8252 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.6183, allocations: 20 kB / 0.8252 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.62, allocations: 1.065 MB / 0.8263 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003665/0.6237, allocations: 2.344 MB / 0.8285 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.6249, allocations: 0.7827 MB / 0.8293 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000469/0.6254, allocations: 286.4 kB / 0.8296 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.179e-05/0.6255, allocations: 24.59 kB / 0.8296 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007102/0.6262, allocations: 435 kB / 0.83 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.064e-06/0.6262, allocations: 0 / 0.83 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72): time 0.00276/0.629, allocations: 1.069 MB / 0.8311 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.6291, allocations: 188.6 kB / 0.8312 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006933/0.6298, allocations: 0.59 MB / 0.8318 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.6299, allocations: 41.7 kB / 0.8319 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.6302, allocations: 372.3 kB / 0.8322 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.6303, allocations: 232.6 kB / 0.8324 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.6306, allocations: 138.2 kB / 0.8326 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6307, allocations: 374.8 kB / 0.8329 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/0.6312, allocations: 213.2 kB / 0.8331 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005196/0.6317, allocations: 326.7 kB / 0.8334 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009493/0.6326, allocations: 0.5237 MB / 0.834 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.6327, allocations: 64 / 0.834 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001693/0.6344, allocations: 0.7275 MB / 0.8347 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.6344, allocations: 4 kB / 0.8347 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.6344, allocations: 4 kB / 0.8347 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/0.635, allocations: 80.86 kB / 0.8347 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005715/0.6356, allocations: 139.8 kB / 0.8349 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.6379, allocations: 1.625 MB / 0.8365 GB, free: 15.94 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005902/0.6385, allocations: 75.56 kB / 0.8365 GB, free: 15.86 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.6385, allocations: 31.97 kB / 0.8366 GB, free: 15.83 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 (75): * Single equations (assignments): 74 * 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.0003887/0.6389, allocations: 253.7 kB / 0.8368 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.6391, allocations: 79 kB / 0.8369 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.6413, allocations: 0.9939 MB / 0.8379 GB, free: 14.49 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.6413, allocations: 8 kB / 0.8379 GB, free: 14.48 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.6413, allocations: 0 / 0.8379 GB, free: 14.48 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.6413, allocations: 3.984 kB / 0.8379 GB, free: 14.48 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003196/0.6445, allocations: 1.859 MB / 0.8397 GB, free: 12.56 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.6446, allocations: 0 / 0.8397 GB, free: 12.56 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/0.6451, allocations: 151.8 kB / 0.8398 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004321/0.6456, allocations: 68.78 kB / 0.8399 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/0.6456, allocations: 23.98 kB / 0.8399 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.6475, allocations: 1.662 MB / 0.8415 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6475, allocations: 3.938 kB / 0.8415 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.6494, allocations: 0.9121 MB / 0.8424 GB, free: 9.574 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004166/0.6498, allocations: 259.8 kB / 0.8427 GB, free: 9.301 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.65, allocations: 23.98 kB / 0.8427 GB, free: 9.277 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000576/0.6506, allocations: 47.95 kB / 0.8428 GB, free: 9.23 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.6507, allocations: 60.91 kB / 0.8428 GB, free: 9.172 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.014e-05/0.6508, allocations: 27.98 kB / 0.8428 GB, free: 9.145 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005377/0.6513, allocations: 431 kB / 0.8433 GB, free: 8.73 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.503e-06/0.6513, allocations: 4 kB / 0.8433 GB, free: 8.727 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007817/0.6521, allocations: 287.3 kB / 0.8435 GB, free: 8.445 MB / 0.67 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 (86): * Single equations (assignments): 83 * 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.003301/0.6554, allocations: 1.963 MB / 0.8454 GB, free: 6.633 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.6569, allocations: 0.7201 MB / 0.8461 GB, free: 5.898 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6569, allocations: 0 / 0.8461 GB, free: 5.898 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008453/0.6578, allocations: 0.4924 MB / 0.8466 GB, free: 5.398 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.659, allocations: 280.1 kB / 0.8469 GB, free: 5.137 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.6692, allocations: 5.854 MB / 0.8526 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/0.6699, allocations: 1.003 MB / 0.8536 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008353/0.6708, allocations: 250.1 kB / 0.8538 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005363/0.6713, allocations: 347.3 kB / 0.8542 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of SimCode: time 8.52e-07/0.6714, allocations: 4 kB / 0.8542 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3803/1.052, allocations: 20.27 MB / 0.874 GB, free: 190 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.42, allocations: 6.188 kB / 0.874 GB, free: 190 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)