Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.001938/0.001938, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002043/0.002043, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.576/1.576, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.157/3.157, allocations: 0.5003 GB / 0.8026 GB, free: 6.848 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002237/0.002237, allocations: 63.89 kB / 1.165 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9009/0.9031, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004685/0.9078, allocations: 3.149 MB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002686/0.9105, allocations: 1.775 MB / 1.345 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.9107, allocations: 4.125 kB / 1.345 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009875/0.9117, allocations: 335.9 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005796/0.9123, allocations: 214.8 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.9129, allocations: 182.5 kB / 1.346 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004681/0.9133, allocations: 317.9 kB / 1.346 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.9137, allocations: 188.3 kB / 1.346 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.9139, allocations: 143.2 kB / 1.346 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003094/0.9143, allocations: 181.8 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.9143, allocations: 21.25 kB / 1.346 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004643/0.9148, allocations: 246.9 kB / 1.347 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.9149, allocations: 101.9 kB / 1.347 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.915, allocations: 129.5 kB / 1.347 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006367/0.9157, allocations: 419.6 kB / 1.347 GB, free: 11.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9157, allocations: 0 / 1.347 GB, free: 11.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9157, allocations: 0 / 1.347 GB, free: 11.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.9157, allocations: 4 kB / 1.347 GB, free: 11.89 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009714/0.9166, allocations: 0.5561 MB / 1.348 GB, free: 11.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.9167, allocations: 9.031 kB / 1.348 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.536e-05/0.9167, allocations: 9.25 kB / 1.348 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.713e-05/0.9168, allocations: 62.83 kB / 1.348 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008049/0.9176, allocations: 100.2 kB / 1.348 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.9179, allocations: 253 kB / 1.348 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.9179, allocations: 21.58 kB / 1.348 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.918, allocations: 25.59 kB / 1.348 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/0.9186, allocations: 371.9 kB / 1.349 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.9186, allocations: 4.703 kB / 1.349 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.9186, allocations: 10.47 kB / 1.349 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.9187, allocations: 27.12 kB / 1.349 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004846/0.9192, allocations: 304.9 kB / 1.349 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.9208, allocations: 1.54 MB / 1.351 GB, free: 9.496 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004403/0.9213, allocations: 208 kB / 1.351 GB, free: 9.418 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.9214, allocations: 101.5 kB / 1.351 GB, free: 9.379 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.9216, allocations: 87.39 kB / 1.351 GB, free: 9.285 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.9216, allocations: 44.14 kB / 1.351 GB, free: 9.234 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 2.114e-06/0.9216, allocations: 0 / 1.351 GB, free: 9.234 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001237/0.9228, allocations: 0.795 MB / 1.352 GB, free: 8.75 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.9228, allocations: 53.95 kB / 1.352 GB, free: 8.688 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.923, allocations: 198.9 kB / 1.352 GB, free: 8.551 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.923, allocations: 30.77 kB / 1.352 GB, free: 8.516 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.9231, allocations: 166.6 kB / 1.352 GB, free: 8.371 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.9232, allocations: 78.47 kB / 1.352 GB, free: 8.309 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.9233, allocations: 52.86 kB / 1.352 GB, free: 8.277 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.628e-05/0.9233, allocations: 332.9 kB / 1.353 GB, free: 7.953 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.9235, allocations: 110 kB / 1.353 GB, free: 7.918 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.9237, allocations: 165.4 kB / 1.353 GB, free: 7.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.9241, allocations: 295.1 kB / 1.353 GB, free: 7.66 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9241, allocations: 1.062 kB / 1.353 GB, free: 7.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007724/0.9248, allocations: 419.5 kB / 1.354 GB, free: 7.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.9249, allocations: 10.38 kB / 1.354 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.9249, allocations: 1.5 kB / 1.354 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004497/0.9253, allocations: 101.3 kB / 1.354 GB, free: 7.449 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.9256, allocations: 55.61 kB / 1.354 GB, free: 7.441 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.9273, allocations: 1.885 MB / 1.356 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.9275, allocations: 15.06 kB / 1.356 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.9275, allocations: 16.55 kB / 1.356 GB, free: 5.84 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.9277, allocations: 152.1 kB / 1.356 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.9277, allocations: 17.03 kB / 1.356 GB, free: 5.699 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004836/0.9282, allocations: 301.4 kB / 1.356 GB, free: 5.566 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.9282, allocations: 2.016 kB / 1.356 GB, free: 5.566 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.9282, allocations: 7.938 kB / 1.356 GB, free: 5.559 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.9282, allocations: 2 kB / 1.356 GB, free: 5.559 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009425/0.9292, allocations: 0.7023 MB / 1.357 GB, free: 5.098 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.9292, allocations: 1.094 kB / 1.357 GB, free: 5.098 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.9295, allocations: 54.14 kB / 1.357 GB, free: 5.098 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.9295, allocations: 5.156 kB / 1.357 GB, free: 5.094 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.9295, allocations: 12.02 kB / 1.357 GB, free: 5.086 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.9295, allocations: 1.938 kB / 1.357 GB, free: 5.086 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9295, allocations: 4.969 kB / 1.357 GB, free: 5.082 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.9301, allocations: 0.5126 MB / 1.357 GB, free: 4.793 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.47e-05/0.9302, allocations: 118.2 kB / 1.357 GB, free: 4.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.9302, allocations: 11.27 kB / 1.357 GB, free: 4.672 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.9304, allocations: 14.42 kB / 1.357 GB, free: 4.668 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.9305, allocations: 15.45 kB / 1.357 GB, free: 4.664 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.9305, allocations: 5.531 kB / 1.357 GB, free: 4.664 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001139/0.9306, allocations: 146.3 kB / 1.358 GB, free: 4.562 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9306, allocations: 0 / 1.358 GB, free: 4.562 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004111/0.931, allocations: 62.5 kB / 1.358 GB, free: 4.559 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007982/0.9318, allocations: 1.058 MB / 1.359 GB, free: 3.73 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007268/0.9325, allocations: 410.8 kB / 1.359 GB, free: 3.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9325, allocations: 448 / 1.359 GB, free: 3.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.9327, allocations: 122.3 kB / 1.359 GB, free: 3.477 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.9331, allocations: 28.33 kB / 1.359 GB, free: 3.469 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.9368, allocations: 2.901 MB / 1.362 GB, free: 1.5 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.9371, allocations: 0.773 MB / 1.363 GB, free: 0.793 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001927/0.9372, allocations: 59.42 kB / 1.363 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.9374, allocations: 65.52 kB / 1.363 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of SimCode: time 9.52e-07/0.9374, allocations: 0 / 1.363 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.9657, allocations: 5.174 MB / 1.368 GB, free: 112 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.56, allocations: 8.938 kB / 1.368 GB, free: 112 kB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.17609566496685] Failed to read output from testmodel.py, exit status != 0: 11.704053213994484 11.726995583 10.806841269 Calling exit ...