Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.004562/0.004561, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.001184/0.001184, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7322/0.7322, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 62.84 kB / 0.5808 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1563, allocations: 80.22 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006125/0.1625, allocations: 4.908 MB / 0.664 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.158/0.3205, allocations: 150.8 MB / 0.8112 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009998/0.3215, allocations: 19.94 kB / 0.8113 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006198/0.3222, allocations: 194.1 kB / 0.8114 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.3239, allocations: 0.5598 MB / 0.812 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.3776/0.7015, allocations: 0.921 MB / 0.8129 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002586/0.7041, allocations: 1.553 MB / 0.8144 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.7057, allocations: 1.147 MB / 0.8155 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.7068, allocations: 0.6947 MB / 0.8162 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008337/0.7076, allocations: 0.7314 MB / 0.8169 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003317/0.7079, allocations: 190.2 kB / 0.8171 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.7094, allocations: 0.552 MB / 0.8176 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004646/0.7099, allocations: 440.4 kB / 0.8181 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009538/0.7108, allocations: 0.814 MB / 0.8189 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003218/0.714, allocations: 2.314 MB / 0.8211 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.7141, allocations: 0 / 0.8211 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7141, allocations: 0 / 0.8211 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.139e-05/0.7141, allocations: 0 / 0.8211 GB, free: 3.078 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002998/0.7171, allocations: 1.821 MB / 0.8229 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.7172, allocations: 10.59 kB / 0.8229 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002306/0.7174, allocations: 215.4 kB / 0.8231 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009885/0.7184, allocations: 245.4 kB / 0.8233 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.7198, allocations: 0.9185 MB / 0.8242 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.7199, allocations: 145.4 kB / 0.8244 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.7201, allocations: 145.7 kB / 0.8245 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.7226, allocations: 1.461 MB / 0.8259 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.7227, allocations: 0.8125 kB / 0.8259 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.7228, allocations: 63.84 kB / 0.826 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.7228, allocations: 36.59 kB / 0.826 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.7252, allocations: 1.497 MB / 0.8275 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005501/0.7307, allocations: 3.868 MB / 0.8313 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.7321, allocations: 0.903 MB / 0.8322 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006182/0.7327, allocations: 372.3 kB / 0.8325 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.7328, allocations: 41.67 kB / 0.8326 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000884/0.7337, allocations: 0.5492 MB / 0.8331 GB, free: 436 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=93): time 2.184e-06/0.7337, allocations: 0 / 0.8331 GB, free: 436 kB / 0.6387 GB Notification: Performance of matching and sorting (n=93): time 0.003055/0.7368, allocations: 1.374 MB / 0.8344 GB, free: 224 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/0.737, allocations: 195.9 kB / 0.8346 GB, free: 16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.738, allocations: 0.7626 MB / 0.8354 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001956/0.7382, allocations: 39.98 kB / 0.8354 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/0.7387, allocations: 0.5794 MB / 0.836 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000262/0.7389, allocations: 309.9 kB / 0.8363 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.7392, allocations: 175.3 kB / 0.8364 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7394, allocations: 345 kB / 0.8368 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/0.7399, allocations: 305.2 kB / 0.8371 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/0.7406, allocations: 432.9 kB / 0.8375 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.7418, allocations: 0.7423 MB / 0.8382 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7419, allocations: 0 / 0.8382 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001911/0.7438, allocations: 0.9732 MB / 0.8391 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.7438, allocations: 8.25 kB / 0.8391 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.7438, allocations: 3.219 kB / 0.8392 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005902/0.7444, allocations: 90.72 kB / 0.8392 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007388/0.7452, allocations: 196.2 kB / 0.8394 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.7471, allocations: 1.641 MB / 0.841 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00071/0.7478, allocations: 95.36 kB / 0.8411 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/0.7479, allocations: 39.25 kB / 0.8412 GB, free: 13.34 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 102 * 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.0005539/0.7485, allocations: 320.6 kB / 0.8415 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.7487, allocations: 100.2 kB / 0.8416 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002498/0.7512, allocations: 1.287 MB / 0.8428 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.7512, allocations: 10.88 kB / 0.8428 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.7512, allocations: 11.53 kB / 0.8428 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.7512, allocations: 3.094 kB / 0.8428 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003444/0.7547, allocations: 2.505 MB / 0.8453 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.7547, allocations: 0 / 0.8453 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000647/0.7553, allocations: 176.1 kB / 0.8455 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004067/0.7558, allocations: 78.64 kB / 0.8455 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.7558, allocations: 23.91 kB / 0.8456 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.7577, allocations: 1.669 MB / 0.8472 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7577, allocations: 4.062 kB / 0.8472 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.7596, allocations: 1.12 MB / 0.8483 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/0.76, allocations: 316.1 kB / 0.8486 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.7602, allocations: 24.56 kB / 0.8486 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006496/0.7608, allocations: 63.19 kB / 0.8487 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.761, allocations: 72.16 kB / 0.8487 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.28e-05/0.7611, allocations: 39.97 kB / 0.8488 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006267/0.7617, allocations: 0.5593 MB / 0.8493 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.7617, allocations: 3.406 kB / 0.8493 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009914/0.7627, allocations: 398.5 kB / 0.8497 GB, free: 10.69 MB / 0.6544 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 (107): * Single equations (assignments): 104 * 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.003244/0.7659, allocations: 2.165 MB / 0.8518 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001563/0.7675, allocations: 0.9389 MB / 0.8527 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7675, allocations: 0.8438 kB / 0.8527 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008871/0.7684, allocations: 0.5846 MB / 0.8533 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.7696, allocations: 303.5 kB / 0.8536 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/0.782, allocations: 7.896 MB / 0.8613 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007558/0.7828, allocations: 1.17 MB / 0.8624 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009286/0.7837, allocations: 290.9 kB / 0.8627 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006769/0.7844, allocations: 0.5528 MB / 0.8633 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of SimCode: time 9.21e-07/0.7844, allocations: 1 kB / 0.8633 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05244/0.8369, allocations: 26.16 MB / 0.8888 GB, free: 8.879 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.46, allocations: 18.02 kB / 0.8888 GB, free: 8.863 MB / 0.67 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)