Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.00172/0.00172, allocations: 114.3 kB / 17.12 MB, free: 5.914 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.001714/0.001714, allocations: 195.7 kB / 20.08 MB, free: 2.977 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.509/1.509, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8398/0.8398, allocations: 129.2 MB / 432.5 MB, free: 13.4 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 59.91 kB / 0.5987 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.4658, allocations: 83.44 MB / 0.6802 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00476/0.4705, allocations: 3.109 MB / 0.6832 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002727/0.4732, allocations: 1.742 MB / 0.6849 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.4734, allocations: 4.406 kB / 0.6849 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.4744, allocations: 346.1 kB / 0.6852 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004595/0.4749, allocations: 208.4 kB / 0.6854 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.4753, allocations: 179.1 kB / 0.6856 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003347/0.4757, allocations: 324.4 kB / 0.6859 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.476, allocations: 191.1 kB / 0.6861 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.4761, allocations: 131 kB / 0.6862 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.4764, allocations: 172.2 kB / 0.6864 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.4765, allocations: 20.69 kB / 0.6864 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003501/0.4768, allocations: 254.1 kB / 0.6867 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.4769, allocations: 112 kB / 0.6868 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.477, allocations: 116.1 kB / 0.6869 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000472/0.4775, allocations: 427.6 kB / 0.6873 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4775, allocations: 5.406 kB / 0.6873 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.562e-06/0.4775, allocations: 0 / 0.6873 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.4775, allocations: 0 / 0.6873 GB, free: 0.6953 MB / 0.4981 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.0008463/0.4784, allocations: 0.5524 MB / 0.6878 GB, free: 188 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4784, allocations: 9.156 kB / 0.6878 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.421e-05/0.4785, allocations: 63.72 kB / 0.6879 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006788/0.4791, allocations: 92.16 kB / 0.688 GB, free: 80 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.4795, allocations: 268 kB / 0.6882 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.4796, allocations: 14.06 kB / 0.6883 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.4797, allocations: 27.95 kB / 0.6883 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006061/0.4803, allocations: 370.8 kB / 0.6886 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.4803, allocations: 7.953 kB / 0.6886 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.4803, allocations: 15.47 kB / 0.6887 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.4804, allocations: 32.27 kB / 0.6887 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005205/0.4809, allocations: 305.9 kB / 0.689 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.483, allocations: 1.522 MB / 0.6905 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.4834, allocations: 213.8 kB / 0.6907 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.4836, allocations: 102.2 kB / 0.6908 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.4838, allocations: 91.56 kB / 0.6909 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.4838, allocations: 31.62 kB / 0.6909 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.4838, allocations: 0 / 0.6909 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001387/0.4852, allocations: 0.8011 MB / 0.6917 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.4852, allocations: 54.22 kB / 0.6917 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.4854, allocations: 188.8 kB / 0.6919 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.4855, allocations: 31.11 kB / 0.6919 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.4856, allocations: 176.5 kB / 0.6921 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.827e-05/0.4856, allocations: 67.05 kB / 0.6922 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-05/0.4857, allocations: 55.59 kB / 0.6922 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4859, allocations: 332.1 kB / 0.6925 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.4861, allocations: 111.6 kB / 0.6926 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.4863, allocations: 172.4 kB / 0.6928 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.4867, allocations: 289.8 kB / 0.6931 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4867, allocations: 5.094 kB / 0.6931 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007523/0.4874, allocations: 416.9 kB / 0.6935 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4875, allocations: 6.031 kB / 0.6935 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4875, allocations: 1.438 kB / 0.6935 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000411/0.4879, allocations: 101.7 kB / 0.6936 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.4881, allocations: 50.16 kB / 0.6936 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.4903, allocations: 1.877 MB / 0.6955 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.4905, allocations: 19.33 kB / 0.6955 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.4905, allocations: 15.22 kB / 0.6955 GB, free: 9.859 MB / 0.5137 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.0001798/0.4907, allocations: 161 kB / 0.6957 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.4907, allocations: 16.62 kB / 0.6957 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005259/0.4913, allocations: 296 kB / 0.696 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4913, allocations: 2.25 kB / 0.696 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.4913, allocations: 7.938 kB / 0.696 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.4913, allocations: 7.922 kB / 0.696 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.4923, allocations: 0.7047 MB / 0.6967 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4923, allocations: 1.219 kB / 0.6967 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.4926, allocations: 58.23 kB / 0.6967 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.4926, allocations: 5.094 kB / 0.6967 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.4926, allocations: 6.438 kB / 0.6967 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4926, allocations: 6.344 kB / 0.6967 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4927, allocations: 1.031 kB / 0.6967 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.4933, allocations: 0.5086 MB / 0.6972 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.4934, allocations: 123.2 kB / 0.6973 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.4935, allocations: 7.625 kB / 0.6974 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.4937, allocations: 13.36 kB / 0.6974 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.4937, allocations: 22.75 kB / 0.6974 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.4937, allocations: 8.406 kB / 0.6974 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001466/0.4939, allocations: 147.1 kB / 0.6975 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.4939, allocations: 0 / 0.6975 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003887/0.4942, allocations: 65.66 kB / 0.6976 GB, free: 8.312 MB / 0.5137 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.001/0.4952, allocations: 1.054 MB / 0.6986 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007477/0.496, allocations: 409.8 kB / 0.699 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.496, allocations: 5.938 kB / 0.699 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.4962, allocations: 116.4 kB / 0.6991 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.4966, allocations: 39.62 kB / 0.6992 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.5007, allocations: 2.902 MB / 0.702 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.5011, allocations: 0.7674 MB / 0.7028 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001773/0.5013, allocations: 55.66 kB / 0.7028 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.5014, allocations: 66.91 kB / 0.7029 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.5014, allocations: 0 / 0.7029 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.5359, allocations: 5.114 MB / 0.7079 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.59, allocations: 15.97 kB / 0.7079 GB, free: 0.8281 MB / 0.5137 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.015382012818009] Failed to read output from testmodel.py, exit status != 0: 10.667646985966712 10.681719642 10.201413129 Calling exit ...