Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007678/0.0007678, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007997/0.0007997, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8899/0.8899, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001347/0.001347, allocations: 229.9 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7005/0.7005, allocations: 138.4 MB / 454.3 MB, free: 29.96 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.927e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.2878/0.2878, allocations: 3.052 MB / 0.6493 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002104/0.2899, allocations: 1.674 MB / 0.6509 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.29, allocations: 7.875 kB / 0.6509 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007537/0.2908, allocations: 325.1 kB / 0.6512 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004624/0.2912, allocations: 223.6 kB / 0.6514 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.2916, allocations: 175.8 kB / 0.6516 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.2919, allocations: 330.5 kB / 0.6519 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.2922, allocations: 174.7 kB / 0.6521 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.2925, allocations: 193.8 kB / 0.6523 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.2927, allocations: 150.6 kB / 0.6524 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.2928, allocations: 21.91 kB / 0.6524 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002809/0.293, allocations: 225.5 kB / 0.6526 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.066e-05/0.2931, allocations: 105.8 kB / 0.6527 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.36e-05/0.2932, allocations: 88.75 kB / 0.6528 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004328/0.2936, allocations: 443.9 kB / 0.6533 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2936, allocations: 0 / 0.6533 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2936, allocations: 0 / 0.6533 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2936, allocations: 2.688 kB / 0.6533 GB, free: 54.29 MB / 0.5573 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.0006488/0.2943, allocations: 485.4 kB / 0.6537 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.2943, allocations: 12.56 kB / 0.6537 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/0.2944, allocations: 65.45 kB / 0.6538 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000398/0.2948, allocations: 103.4 kB / 0.6539 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.295, allocations: 192.9 kB / 0.6541 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.2951, allocations: 22.95 kB / 0.6541 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.731e-05/0.2951, allocations: 23.52 kB / 0.6541 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.2956, allocations: 425.9 kB / 0.6545 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.2956, allocations: 192 / 0.6545 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.2956, allocations: 12.28 kB / 0.6545 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.378e-05/0.2957, allocations: 30.98 kB / 0.6546 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/0.296, allocations: 303.5 kB / 0.6549 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.297, allocations: 1.09 MB / 0.6559 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.2973, allocations: 207.6 kB / 0.6561 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.2974, allocations: 107 kB / 0.6562 GB, free: 52.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-05/0.2975, allocations: 16.55 kB / 0.6562 GB, free: 52.39 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.2975, allocations: 33.23 kB / 0.6563 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.2975, allocations: 6.844 kB / 0.6563 GB, free: 52.35 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19): time 0.0009156/0.2985, allocations: 0.7189 MB / 0.657 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.2985, allocations: 53.16 kB / 0.657 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.2986, allocations: 195.6 kB / 0.6572 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.2986, allocations: 31.7 kB / 0.6572 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.2987, allocations: 165.9 kB / 0.6574 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.2987, allocations: 69.16 kB / 0.6575 GB, free: 51.53 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/0.2988, allocations: 59.77 kB / 0.6575 GB, free: 51.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.2988, allocations: 327.7 kB / 0.6578 GB, free: 51.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.299, allocations: 115.8 kB / 0.658 GB, free: 51.14 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.2991, allocations: 170.5 kB / 0.6581 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.2994, allocations: 304.2 kB / 0.6584 GB, free: 50.87 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2994, allocations: 3.938 kB / 0.6584 GB, free: 50.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005303/0.2999, allocations: 412 kB / 0.6588 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2999, allocations: 5.125 kB / 0.6588 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3, allocations: 7.016 kB / 0.6588 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002918/0.3002, allocations: 101.7 kB / 0.6589 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.3004, allocations: 52.06 kB / 0.659 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.3015, allocations: 1.759 MB / 0.6607 GB, free: 49.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.3016, allocations: 15.28 kB / 0.6607 GB, free: 49.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.3016, allocations: 13.92 kB / 0.6607 GB, free: 49.23 MB / 0.5573 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.0001093/0.3018, allocations: 158.8 kB / 0.6609 GB, free: 49.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.3018, allocations: 18.12 kB / 0.6609 GB, free: 49.09 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.3021, allocations: 300.3 kB / 0.6612 GB, free: 48.94 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3021, allocations: 2.094 kB / 0.6612 GB, free: 48.94 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.3021, allocations: 3.25 kB / 0.6612 GB, free: 48.94 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3021, allocations: 2.922 kB / 0.6612 GB, free: 48.94 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/0.3027, allocations: 0.6509 MB / 0.6618 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3027, allocations: 0 / 0.6618 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.3029, allocations: 60.98 kB / 0.6619 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3029, allocations: 2.188 kB / 0.6619 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3029, allocations: 7.062 kB / 0.6619 GB, free: 48.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3029, allocations: 0.5 kB / 0.6619 GB, free: 48.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3029, allocations: 5.938 kB / 0.6619 GB, free: 48.51 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.3033, allocations: 0.5119 MB / 0.6624 GB, free: 48.22 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.3033, allocations: 42.47 kB / 0.6624 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.3034, allocations: 8.484 kB / 0.6624 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.928e-05/0.3034, allocations: 18.16 kB / 0.6624 GB, free: 48.19 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.3035, allocations: 16.53 kB / 0.6625 GB, free: 48.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.3035, allocations: 5.391 kB / 0.6625 GB, free: 48.19 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.581e-05/0.3036, allocations: 152.1 kB / 0.6626 GB, free: 48.08 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.3036, allocations: 0 / 0.6626 GB, free: 48.08 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002645/0.3038, allocations: 62.78 kB / 0.6627 GB, free: 48.08 MB / 0.5573 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.000569/0.3044, allocations: 1.058 MB / 0.6637 GB, free: 47.25 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.3049, allocations: 409.6 kB / 0.6641 GB, free: 47.05 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3049, allocations: 5.719 kB / 0.6641 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.305, allocations: 110.2 kB / 0.6642 GB, free: 47.01 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.3053, allocations: 42.33 kB / 0.6642 GB, free: 47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.3077, allocations: 2.852 MB / 0.667 GB, free: 45.09 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.3078, allocations: 164.5 kB / 0.6672 GB, free: 45.01 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.3079, allocations: 58.61 kB / 0.6672 GB, free: 45 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.277e-05/0.308, allocations: 73.67 kB / 0.6673 GB, free: 44.95 MB / 0.5573 GB Notification: Performance of SimCode: time 1.022e-06/0.308, allocations: 0 / 0.6673 GB, free: 44.95 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.3291, allocations: 5.87 MB / 0.673 GB, free: 43.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.847/7.176, allocations: 9.422 kB / 0.6731 GB, free: 43.84 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.864210736006498] Failed to read output from testmodel.py, exit status != 0: 7.260119364596903 7.268572261 6.972869979 Calling exit ...