Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7933/0.7933, allocations: 133.6 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.76/1.76, allocations: 221.5 MB / 395.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000854/0.000854, allocations: 101.8 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.346e-05, allocations: 4 kB / 0.5536 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5645/0.5646, allocations: 82.3 MB / 0.6339 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.502/5.066, allocations: 1.694 GB / 2.328 GB, free: 79.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/5.067, allocations: 95.94 kB / 2.328 GB, free: 79.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1239/5.191, allocations: 58.88 MB / 2.386 GB, free: 20.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.064e-06/5.191, allocations: 0 / 2.386 GB, free: 20.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.424e-05/5.191, allocations: 31.94 kB / 2.386 GB, free: 20.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001771/5.192, allocations: 1.078 MB / 2.387 GB, free: 19.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/5.193, allocations: 12.03 kB / 2.387 GB, free: 19.05 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008446/5.193, allocations: 190.5 kB / 2.387 GB, free: 18.87 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008126/5.194, allocations: 0.6152 MB / 2.387 GB, free: 18.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/5.194, allocations: 24 kB / 2.387 GB, free: 18.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-05/5.194, allocations: 48 kB / 2.388 GB, free: 18.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001198/5.196, allocations: 1.007 MB / 2.389 GB, free: 17.13 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/5.197, allocations: 0.7428 MB / 2.389 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/5.197, allocations: 3.984 kB / 2.389 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.168e-05/5.197, allocations: 4 kB / 2.389 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/5.197, allocations: 23.95 kB / 2.389 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003085/5.2, allocations: 2.368 MB / 2.392 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008296/5.201, allocations: 0.6673 MB / 2.392 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/5.201, allocations: 247.2 kB / 2.392 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.71e-05/5.201, allocations: 41.75 kB / 2.393 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005068/5.202, allocations: 395.8 kB / 2.393 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 3.206e-06/5.202, allocations: 0 / 2.393 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001395/5.203, allocations: 0.6758 MB / 2.394 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/5.203, allocations: 244.1 kB / 2.394 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005584/5.204, allocations: 0.4984 MB / 2.394 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/5.204, allocations: 25.7 kB / 2.394 GB, free: 11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000209/5.204, allocations: 388.2 kB / 2.395 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/5.204, allocations: 240.3 kB / 2.395 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/5.204, allocations: 4 kB / 2.395 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/5.204, allocations: 378.8 kB / 2.395 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/5.204, allocations: 197.5 kB / 2.395 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/5.205, allocations: 299.5 kB / 2.396 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/5.205, allocations: 252.5 kB / 2.396 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/5.205, allocations: 0 / 2.396 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001251/5.206, allocations: 0.6758 MB / 2.397 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/5.206, allocations: 4 kB / 2.397 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/5.206, allocations: 7.938 kB / 2.397 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005464/5.207, allocations: 84.77 kB / 2.397 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/5.208, allocations: 151.8 kB / 2.397 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/5.209, allocations: 1.45 MB / 2.398 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005313/5.21, allocations: 63.42 kB / 2.398 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/5.21, allocations: 27.98 kB / 2.398 GB, free: 6.645 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001434/5.21, allocations: 116.9 kB / 2.398 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00123/5.211, allocations: 0.6759 MB / 2.399 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.344e-05/5.211, allocations: 71.16 kB / 2.399 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/5.213, allocations: 0.9383 MB / 2.4 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/5.213, allocations: 12 kB / 2.4 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/5.213, allocations: 0 / 2.4 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/5.213, allocations: 3.984 kB / 2.4 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/5.215, allocations: 1.714 MB / 2.402 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/5.215, allocations: 0 / 2.402 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005782/5.216, allocations: 151.8 kB / 2.402 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/5.216, allocations: 84.77 kB / 2.402 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/5.216, allocations: 15.98 kB / 2.402 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/5.218, allocations: 1.484 MB / 2.404 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/5.218, allocations: 0 / 2.404 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/5.219, allocations: 0.8416 MB / 2.404 GB, free: 320 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/5.22, allocations: 283.7 kB / 2.405 GB, free: 16 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/5.22, allocations: 0 / 2.405 GB, free: 16 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.4454/5.665, allocations: 49.45 kB / 2.405 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002683/5.665, allocations: 61.95 kB / 2.405 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/5.666, allocations: 32.12 kB / 2.405 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008817/5.666, allocations: 416.4 kB / 2.405 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.7e-07/5.666, allocations: 2.25 kB / 2.405 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001788/5.668, allocations: 327.4 kB / 2.405 GB, free: 228.4 MB / 0.6823 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004533/5.673, allocations: 2.364 MB / 2.408 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001506/5.674, allocations: 0.6577 MB / 2.408 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/5.674, allocations: 4.625 kB / 2.408 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007909/5.675, allocations: 458.8 kB / 2.409 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/5.676, allocations: 219.2 kB / 2.409 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004311/5.681, allocations: 1.502 MB / 2.411 GB, free: 227 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000657/5.681, allocations: 1.028 MB / 2.412 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009293/5.682, allocations: 249.5 kB / 2.412 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005946/5.683, allocations: 360.9 kB / 2.412 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.332e-06/5.683, allocations: 2.344 kB / 2.412 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05312/5.736, allocations: 23.44 MB / 2.435 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/5.736, allocations: 198.5 kB / 2.435 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.827/8.563, allocations: 0 / 2.435 GB, free: 224.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)