Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 215.6 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.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.8799/0.8799, allocations: 134 MB / 446.4 MB, free: 10.22 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 64.41 kB / 0.6185 GB, free: 7.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1696, allocations: 85.91 MB / 0.7024 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007436/0.177, allocations: 4.979 MB / 0.7073 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5768/0.7538, allocations: 154.3 MB / 0.8579 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.7553, allocations: 35.69 kB / 0.858 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.7565, allocations: 345.6 kB / 0.8583 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.7588, allocations: 0.5108 MB / 0.8588 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.7614, allocations: 0.8717 MB / 0.8596 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002114/0.7635, allocations: 1.368 MB / 0.861 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.7648, allocations: 0.5575 MB / 0.8615 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000945/0.7657, allocations: 0.4981 MB / 0.862 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.7668, allocations: 0.5247 MB / 0.8625 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000373/0.7671, allocations: 120 kB / 0.8626 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.7686, allocations: 0.5129 MB / 0.8631 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004526/0.7691, allocations: 314.9 kB / 0.8634 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006618/0.7697, allocations: 0.6021 MB / 0.864 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.7723, allocations: 1.823 MB / 0.8658 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.7723, allocations: 3.984 kB / 0.8658 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.414e-06/0.7723, allocations: 0 / 0.8658 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.018e-05/0.7723, allocations: 0 / 0.8658 GB, free: 15.26 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002741/0.7751, allocations: 1.567 MB / 0.8673 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.7751, allocations: 11.97 kB / 0.8674 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/0.7753, allocations: 148.1 kB / 0.8675 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.7767, allocations: 251.9 kB / 0.8677 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.7784, allocations: 0.8123 MB / 0.8685 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-05/0.7784, allocations: 73.94 kB / 0.8686 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.7786, allocations: 92 kB / 0.8687 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.7803, allocations: 0.9731 MB / 0.8696 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.7803, allocations: 3.938 kB / 0.8696 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-05/0.7804, allocations: 36 kB / 0.8697 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.7804, allocations: 24 kB / 0.8697 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.7822, allocations: 1.116 MB / 0.8708 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004341/0.7866, allocations: 2.614 MB / 0.8733 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.7878, allocations: 0.6704 MB / 0.874 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.7883, allocations: 246.7 kB / 0.8742 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.382e-05/0.7884, allocations: 36.67 kB / 0.8743 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007713/0.7891, allocations: 419.2 kB / 0.8747 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 1.844e-06/0.7891, allocations: 0 / 0.8747 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.002925/0.7921, allocations: 1.014 MB / 0.8757 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.7922, allocations: 188.6 kB / 0.8758 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.7932, allocations: 0.7789 MB / 0.8766 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/0.7933, allocations: 41.7 kB / 0.8766 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004263/0.7937, allocations: 0.5045 MB / 0.8771 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.7939, allocations: 238 kB / 0.8774 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.7941, allocations: 130.2 kB / 0.8775 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.7943, allocations: 330 kB / 0.8778 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.7947, allocations: 217.2 kB / 0.878 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005389/0.7952, allocations: 310.8 kB / 0.8783 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009681/0.7962, allocations: 0.516 MB / 0.8788 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7962, allocations: 0 / 0.8788 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001737/0.7979, allocations: 0.7355 MB / 0.8795 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.798, allocations: 4 kB / 0.8795 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.798, allocations: 0 / 0.8795 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006333/0.7986, allocations: 84.86 kB / 0.8796 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005438/0.7991, allocations: 131.8 kB / 0.8797 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.8014, allocations: 1.536 MB / 0.8812 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005951/0.802, allocations: 86.77 kB / 0.8813 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.802, allocations: 23.98 kB / 0.8813 GB, free: 14.91 MB / 0.6544 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 (72): * Single equations (assignments): 71 * 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.0004802/0.8025, allocations: 279.9 kB / 0.8816 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.8027, allocations: 103.3 kB / 0.8817 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.805, allocations: 0.9752 MB / 0.8827 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.805, allocations: 8 kB / 0.8827 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.805, allocations: 3.938 kB / 0.8827 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.805, allocations: 3.984 kB / 0.8827 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.8062, allocations: 0.9223 MB / 0.8836 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.8062, allocations: 0 / 0.8836 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005397/0.8068, allocations: 135.8 kB / 0.8837 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004395/0.8072, allocations: 68.78 kB / 0.8838 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/0.8073, allocations: 23.98 kB / 0.8838 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.8093, allocations: 1.574 MB / 0.8853 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8093, allocations: 0 / 0.8853 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.8111, allocations: 0.8495 MB / 0.8862 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004312/0.8115, allocations: 203 kB / 0.8863 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.8116, allocations: 16 kB / 0.8864 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005118/0.8121, allocations: 59.88 kB / 0.8864 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.8123, allocations: 60.88 kB / 0.8865 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.989e-05/0.8123, allocations: 27.98 kB / 0.8865 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007592/0.8131, allocations: 0.5536 MB / 0.887 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.8131, allocations: 0 / 0.887 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009046/0.814, allocations: 311.1 kB / 0.8873 GB, free: 8.547 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * 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.00481/0.8188, allocations: 1.888 MB / 0.8892 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.8207, allocations: 0.6888 MB / 0.8899 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.8207, allocations: 0 / 0.8899 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008422/0.8215, allocations: 464.2 kB / 0.8903 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.8232, allocations: 449.1 kB / 0.8907 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.8353, allocations: 6.687 MB / 0.8973 GB, free: 14.44 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000851/0.8362, allocations: 1.074 MB / 0.8983 GB, free: 13.33 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009338/0.8371, allocations: 287.1 kB / 0.8986 GB, free: 13.05 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006227/0.8377, allocations: 447.2 kB / 0.899 GB, free: 12.61 MB / 0.67 GB Notification: Performance of SimCode: time 8.62e-07/0.8377, allocations: 4 kB / 0.899 GB, free: 12.61 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07116/0.9089, allocations: 24.77 MB / 0.9232 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15, allocations: 6.438 kB / 0.9232 GB, free: 4.004 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.938777344068512] Failed to read output from testmodel.py, exit status != 0: 15.235009422991425 15.264922323 14.48750676 Calling exit ...