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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8028/0.8028, allocations: 133.9 MB / 436.6 MB, free: 13.68 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 63.91 kB / 0.6051 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3455, allocations: 84.67 MB / 0.6878 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00645/0.3519, allocations: 4.944 MB / 0.6926 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1682/0.5201, allocations: 151.2 MB / 0.8403 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000718/0.5208, allocations: 27.88 kB / 0.8403 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005424/0.5213, allocations: 194.1 kB / 0.8405 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.5229, allocations: 0.57 MB / 0.8411 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.5249, allocations: 0.9234 MB / 0.842 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001526/0.5264, allocations: 1.561 MB / 0.8435 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.5275, allocations: 0.84 MB / 0.8443 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007492/0.5283, allocations: 0.6967 MB / 0.845 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000747/0.529, allocations: 0.7311 MB / 0.8457 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002203/0.5293, allocations: 192 kB / 0.8459 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008994/0.5302, allocations: 0.5465 MB / 0.8464 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000362/0.5305, allocations: 434.6 kB / 0.8468 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000656/0.5312, allocations: 0.8161 MB / 0.8476 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.5336, allocations: 2.326 MB / 0.8499 GB, free: 15.91 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.5336, allocations: 4 kB / 0.8499 GB, free: 15.91 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5336, allocations: 0 / 0.8499 GB, free: 15.91 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.5336, allocations: 0 / 0.8499 GB, free: 15.91 MB / 0.67 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.002914/0.5365, allocations: 1.874 MB / 0.8517 GB, free: 13.98 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.5365, allocations: 8.031 kB / 0.8518 GB, free: 13.97 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000239/0.5368, allocations: 215.6 kB / 0.852 GB, free: 13.75 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009561/0.5377, allocations: 259.7 kB / 0.8522 GB, free: 13.49 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.5391, allocations: 0.9232 MB / 0.8531 GB, free: 12.52 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.5393, allocations: 140.7 kB / 0.8532 GB, free: 12.38 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.5394, allocations: 136 kB / 0.8534 GB, free: 12.25 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.5418, allocations: 1.469 MB / 0.8548 GB, free: 10.72 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.5418, allocations: 3.938 kB / 0.8548 GB, free: 10.72 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.5419, allocations: 64 kB / 0.8549 GB, free: 10.66 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/0.5419, allocations: 40 kB / 0.8549 GB, free: 10.62 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002398/0.5443, allocations: 1.494 MB / 0.8564 GB, free: 9.117 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00584/0.5502, allocations: 3.887 MB / 0.8602 GB, free: 5.152 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.5517, allocations: 0.8476 MB / 0.861 GB, free: 4.305 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006011/0.5523, allocations: 339.7 kB / 0.8613 GB, free: 3.969 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.301e-05/0.5524, allocations: 41.05 kB / 0.8614 GB, free: 3.93 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009645/0.5533, allocations: 0.5475 MB / 0.8619 GB, free: 3.359 MB / 0.67 GB Notification: Performance of pre-optimization done (n=93): time 2.385e-06/0.5533, allocations: 0 / 0.8619 GB, free: 3.359 MB / 0.67 GB Notification: Performance of matching and sorting (n=93): time 0.003299/0.5566, allocations: 1.381 MB / 0.8632 GB, free: 1.957 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.5567, allocations: 192.9 kB / 0.8634 GB, free: 1.727 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000939/0.5577, allocations: 0.7629 MB / 0.8642 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-05/0.5578, allocations: 41.7 kB / 0.8642 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004526/0.5582, allocations: 0.5906 MB / 0.8648 GB, free: 316 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.26/0.8182, allocations: 326.9 kB / 0.8651 GB, free: 172.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/0.8186, allocations: 177.2 kB / 0.8653 GB, free: 172.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.8186, allocations: 339.2 kB / 0.8656 GB, free: 171.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005698/0.8192, allocations: 310.5 kB / 0.8659 GB, free: 171.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006339/0.8198, allocations: 427 kB / 0.8663 GB, free: 171.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.821, allocations: 0.7423 MB / 0.867 GB, free: 171.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.821, allocations: 0.8438 kB / 0.867 GB, free: 171.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002066/0.8231, allocations: 0.9848 MB / 0.868 GB, free: 171.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.8231, allocations: 12.58 kB / 0.868 GB, free: 171.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.8231, allocations: 0.9688 kB / 0.868 GB, free: 171.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005554/0.8237, allocations: 82.59 kB / 0.8681 GB, free: 171.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007745/0.8245, allocations: 187.5 kB / 0.8682 GB, free: 171.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.8261, allocations: 1.646 MB / 0.8699 GB, free: 169.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006596/0.8268, allocations: 105.5 kB / 0.87 GB, free: 169.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/0.8269, allocations: 40.03 kB / 0.87 GB, free: 169.6 MB / 0.67 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.0004526/0.8273, allocations: 311.2 kB / 0.8703 GB, free: 169.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.8275, allocations: 106.5 kB / 0.8704 GB, free: 169.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/0.8301, allocations: 1.293 MB / 0.8717 GB, free: 168.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.8302, allocations: 10.44 kB / 0.8717 GB, free: 168.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.8302, allocations: 1.312 kB / 0.8717 GB, free: 168.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.8302, allocations: 5.906 kB / 0.8717 GB, free: 168.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00378/0.834, allocations: 2.495 MB / 0.8741 GB, free: 167.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.834, allocations: 0.8125 kB / 0.8741 GB, free: 167.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000695/0.8347, allocations: 178 kB / 0.8743 GB, free: 167.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004208/0.8351, allocations: 75.72 kB / 0.8744 GB, free: 167.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/0.8351, allocations: 30.55 kB / 0.8744 GB, free: 167.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/0.8366, allocations: 1.682 MB / 0.876 GB, free: 166.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8366, allocations: 0 / 0.876 GB, free: 166.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.8389, allocations: 1.118 MB / 0.8771 GB, free: 165.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004329/0.8393, allocations: 317.8 kB / 0.8774 GB, free: 165.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.8394, allocations: 33.11 kB / 0.8775 GB, free: 165.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.8401, allocations: 56.42 kB / 0.8775 GB, free: 165.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.8402, allocations: 75.3 kB / 0.8776 GB, free: 165.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-05/0.8403, allocations: 40.69 kB / 0.8776 GB, free: 165.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008254/0.8412, allocations: 0.5635 MB / 0.8782 GB, free: 165.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.8412, allocations: 3 kB / 0.8782 GB, free: 165.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00117/0.8423, allocations: 404.8 kB / 0.8786 GB, free: 165 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 (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.003657/0.846, allocations: 2.174 MB / 0.8807 GB, free: 163.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001629/0.8476, allocations: 0.9004 MB / 0.8816 GB, free: 163.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.8476, allocations: 1.5 kB / 0.8816 GB, free: 163.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008624/0.8485, allocations: 0.5499 MB / 0.8821 GB, free: 163.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.8496, allocations: 306.8 kB / 0.8824 GB, free: 163.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.8607, allocations: 7.952 MB / 0.8902 GB, free: 158.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.8612, allocations: 1.163 MB / 0.8913 GB, free: 157.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007358/0.8619, allocations: 284.9 kB / 0.8916 GB, free: 157.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/0.8624, allocations: 0.5549 MB / 0.8921 GB, free: 156.9 MB / 0.67 GB Notification: Performance of SimCode: time 6.81e-07/0.8624, allocations: 0 / 0.8921 GB, free: 156.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04987/0.9123, allocations: 25.81 MB / 0.9173 GB, free: 131.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.49, allocations: 17 kB / 0.9173 GB, free: 131.8 MB / 0.67 GB " [Timeout remaining time 646] (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 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.83525822032243] Failed to read output from testmodel.py, exit status != 0: 13.69184598699212 13.708099587 13.171313944 Calling exit ...