Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.001655/0.001655, allocations: 179.4 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4995/0.4995, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 221.3 MB / 348.3 MB, free: 472 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008962/0.0008962, allocations: 99.48 kB / 421.2 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.904e-05, allocations: 0 / 0.4897 GB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3398, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.406/3.746, allocations: 1.684 GB / 2.245 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/3.747, allocations: 94.59 kB / 2.245 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.4889/4.235, allocations: 68.39 MB / 2.312 GB, free: 197.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.604e-06/4.235, allocations: 0 / 2.312 GB, free: 197.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001034/4.236, allocations: 27.8 kB / 2.312 GB, free: 197.4 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002372/4.238, allocations: 1.112 MB / 2.313 GB, free: 196.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/4.238, allocations: 16.97 kB / 2.313 GB, free: 196.8 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/4.238, allocations: 138.6 kB / 2.313 GB, free: 196.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/4.24, allocations: 215 kB / 2.313 GB, free: 196.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/4.241, allocations: 0.6233 MB / 2.314 GB, free: 196.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.812e-05/4.241, allocations: 67.25 kB / 2.314 GB, free: 196.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/4.241, allocations: 93.89 kB / 2.314 GB, free: 196.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/4.243, allocations: 0.9025 MB / 2.315 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/4.243, allocations: 0.8594 kB / 2.315 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.269e-05/4.243, allocations: 37.16 kB / 2.315 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/4.243, allocations: 21.22 kB / 2.315 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/4.245, allocations: 1.075 MB / 2.316 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005406/4.251, allocations: 2.508 MB / 2.318 GB, free: 195.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/4.253, allocations: 0.8321 MB / 2.319 GB, free: 195.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/4.253, allocations: 264.2 kB / 2.319 GB, free: 195.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.463e-05/4.253, allocations: 28.8 kB / 2.319 GB, free: 195.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005831/4.254, allocations: 411.7 kB / 2.32 GB, free: 195.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 3.476e-06/4.254, allocations: 3.875 kB / 2.32 GB, free: 195.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.001635/4.255, allocations: 0.6897 MB / 2.32 GB, free: 195.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.983e-05/4.256, allocations: 248.3 kB / 2.321 GB, free: 195.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/4.256, allocations: 0.5836 MB / 2.321 GB, free: 194.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.48e-05/4.256, allocations: 43.73 kB / 2.321 GB, free: 194.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000273/4.257, allocations: 398.2 kB / 2.322 GB, free: 194.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/4.257, allocations: 245.7 kB / 2.322 GB, free: 194.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/4.257, allocations: 14.41 kB / 2.322 GB, free: 194.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001083/4.257, allocations: 380.4 kB / 2.322 GB, free: 194.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/4.257, allocations: 197.4 kB / 2.323 GB, free: 194.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/4.258, allocations: 314.6 kB / 2.323 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/4.258, allocations: 243.5 kB / 2.323 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/4.258, allocations: 2.625 kB / 2.323 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001396/4.26, allocations: 0.6939 MB / 2.324 GB, free: 194.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/4.26, allocations: 3.938 kB / 2.324 GB, free: 194.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/4.26, allocations: 1.062 kB / 2.324 GB, free: 194.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/4.26, allocations: 84.83 kB / 2.324 GB, free: 194.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005596/4.261, allocations: 142 kB / 2.324 GB, free: 194.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/4.262, allocations: 1.514 MB / 2.325 GB, free: 192.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007682/4.263, allocations: 81.05 kB / 2.325 GB, free: 192.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.638e-05/4.263, allocations: 31.45 kB / 2.326 GB, free: 192.8 MB / 0.6042 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 (75): * Single equations (assignments): 74 * 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.0001937/4.264, allocations: 149.2 kB / 2.326 GB, free: 192.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/4.264, allocations: 74.53 kB / 2.326 GB, free: 192.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/4.266, allocations: 0.9602 MB / 2.327 GB, free: 192.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/4.266, allocations: 7.062 kB / 2.327 GB, free: 192.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/4.266, allocations: 7.109 kB / 2.327 GB, free: 192.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/4.266, allocations: 8.578 kB / 2.327 GB, free: 192.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/4.269, allocations: 1.884 MB / 2.329 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/4.269, allocations: 1.438 kB / 2.329 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005654/4.269, allocations: 148.8 kB / 2.329 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004781/4.27, allocations: 86.56 kB / 2.329 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-05/4.27, allocations: 23 kB / 2.329 GB, free: 192.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/4.271, allocations: 1.541 MB / 2.33 GB, free: 190.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/4.271, allocations: 2.469 kB / 2.33 GB, free: 190.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/4.273, allocations: 0.873 MB / 2.331 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/4.273, allocations: 285.9 kB / 2.331 GB, free: 190.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/4.273, allocations: 19.12 kB / 2.331 GB, free: 190.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005658/4.274, allocations: 66.52 kB / 2.331 GB, free: 190.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/4.274, allocations: 68.05 kB / 2.332 GB, free: 190.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.793e-05/4.274, allocations: 28.27 kB / 2.332 GB, free: 190.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000573/4.275, allocations: 486.2 kB / 2.332 GB, free: 190.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.152e-06/4.275, allocations: 4.688 kB / 2.332 GB, free: 190.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001141/4.276, allocations: 378.1 kB / 2.332 GB, free: 190.4 MB / 0.6042 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 (85): * Single equations (assignments): 82 * 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.003527/4.28, allocations: 2.334 MB / 2.335 GB, free: 189.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001319/4.281, allocations: 0.6877 MB / 2.335 GB, free: 189.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/4.281, allocations: 3.828 kB / 2.335 GB, free: 189.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006992/4.282, allocations: 469.1 kB / 2.336 GB, free: 189.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/4.283, allocations: 241.6 kB / 2.336 GB, free: 189.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/4.287, allocations: 1.601 MB / 2.338 GB, free: 188.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/4.287, allocations: 1.038 MB / 2.339 GB, free: 188.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008446/4.288, allocations: 270.9 kB / 2.339 GB, free: 188.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004599/4.289, allocations: 377.5 kB / 2.339 GB, free: 188.1 MB / 0.6042 GB Notification: Performance of SimCode: time 1.162e-06/4.289, allocations: 0 / 2.339 GB, free: 188.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06824/4.357, allocations: 31.27 MB / 2.37 GB, free: 177.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/4.357, allocations: 258.3 kB / 2.37 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.12/7.477, allocations: 4.062 kB / 2.37 GB, free: 176.9 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)