Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.000994/0.000994, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009244/0.0009244, allocations: 207.6 kB / 22.25 MB, free: 3.59 MB / 13.93 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.9146/0.9146, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7794/0.7794, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",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.001456/0.001456, allocations: 69.48 kB / 0.7182 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4805, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003307/0.4838, allocations: 3.092 MB / 0.8208 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.4859, allocations: 1.696 MB / 0.8225 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.486, allocations: 7.844 kB / 0.8225 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007302/0.4867, allocations: 340.9 kB / 0.8228 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003988/0.4871, allocations: 209.5 kB / 0.823 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.4875, allocations: 179.5 kB / 0.8232 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.4878, allocations: 324 kB / 0.8235 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.4881, allocations: 173.6 kB / 0.8236 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.4883, allocations: 139.8 kB / 0.8238 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000237/0.4885, allocations: 166.8 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.4885, allocations: 21.31 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.4888, allocations: 220.5 kB / 0.8242 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.889e-05/0.4889, allocations: 104.6 kB / 0.8243 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.489, allocations: 101.9 kB / 0.8244 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004628/0.4894, allocations: 424.1 kB / 0.8248 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4894, allocations: 7.781 kB / 0.8248 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4894, allocations: 0 / 0.8248 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.4895, allocations: 7.938 kB / 0.8248 GB, free: 12.97 MB / 0.6198 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.0007832/0.4902, allocations: 481.4 kB / 0.8252 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4903, allocations: 9.781 kB / 0.8252 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.182e-05/0.4903, allocations: 62.98 kB / 0.8253 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004512/0.4908, allocations: 94.45 kB / 0.8254 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.491, allocations: 196.9 kB / 0.8256 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.491, allocations: 21.27 kB / 0.8256 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.872e-05/0.4911, allocations: 26.02 kB / 0.8256 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.4916, allocations: 429.8 kB / 0.826 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4916, allocations: 0 / 0.826 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.4916, allocations: 10.56 kB / 0.826 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-05/0.4917, allocations: 30.25 kB / 0.8261 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.492, allocations: 304.8 kB / 0.8264 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.4931, allocations: 1.101 MB / 0.8274 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.4934, allocations: 211.4 kB / 0.8276 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.4935, allocations: 105.4 kB / 0.8277 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.34e-05/0.4936, allocations: 10.41 kB / 0.8278 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.4937, allocations: 36.59 kB / 0.8278 GB, free: 11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.4937, allocations: 1.406 kB / 0.8278 GB, free: 11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0009316/0.4946, allocations: 0.7142 MB / 0.8285 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.4946, allocations: 53.88 kB / 0.8285 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.4948, allocations: 199.1 kB / 0.8287 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.4948, allocations: 31.14 kB / 0.8288 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.308e-05/0.4949, allocations: 166.9 kB / 0.8289 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.4949, allocations: 67.02 kB / 0.829 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.495, allocations: 65.23 kB / 0.829 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.842e-05/0.4951, allocations: 328.5 kB / 0.8294 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.4952, allocations: 114.9 kB / 0.8295 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.4953, allocations: 170.6 kB / 0.8296 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.4957, allocations: 294.8 kB / 0.8299 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4957, allocations: 0.5 kB / 0.8299 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000613/0.4963, allocations: 412.5 kB / 0.8303 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4963, allocations: 6.688 kB / 0.8303 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4963, allocations: 9.594 kB / 0.8303 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002944/0.4966, allocations: 96.02 kB / 0.8304 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.4968, allocations: 53.2 kB / 0.8305 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.498, allocations: 1.766 MB / 0.8322 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.4981, allocations: 20.31 kB / 0.8322 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.4981, allocations: 9.016 kB / 0.8322 GB, free: 7.859 MB / 0.6198 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.0001208/0.4983, allocations: 152.2 kB / 0.8324 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.4983, allocations: 24.22 kB / 0.8324 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.4986, allocations: 297.9 kB / 0.8327 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.4987, allocations: 2.375 kB / 0.8327 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.4987, allocations: 0 / 0.8327 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4987, allocations: 6.25 kB / 0.8327 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000663/0.4993, allocations: 0.6539 MB / 0.8333 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.4993, allocations: 4.656 kB / 0.8333 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.4995, allocations: 62.33 kB / 0.8334 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.4995, allocations: 6.031 kB / 0.8334 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.4995, allocations: 6.75 kB / 0.8334 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4995, allocations: 2.156 kB / 0.8334 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4995, allocations: 9.719 kB / 0.8334 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004314/0.5, allocations: 0.5143 MB / 0.8339 GB, free: 6.828 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.746e-05/0.5, allocations: 37.95 kB / 0.8339 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.5, allocations: 7.109 kB / 0.8339 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.5001, allocations: 14.31 kB / 0.834 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.5002, allocations: 11.83 kB / 0.834 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.5002, allocations: 12.95 kB / 0.834 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.407e-05/0.5003, allocations: 144.4 kB / 0.8341 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5003, allocations: 0 / 0.8341 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002693/0.5005, allocations: 69.5 kB / 0.8342 GB, free: 6.688 MB / 0.6198 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.000649/0.5012, allocations: 1.055 MB / 0.8352 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005449/0.5017, allocations: 417.8 kB / 0.8356 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5017, allocations: 0 / 0.8356 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.5019, allocations: 117 kB / 0.8357 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.5021, allocations: 37.36 kB / 0.8358 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.5047, allocations: 2.89 MB / 0.8386 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.5048, allocations: 168 kB / 0.8387 GB, free: 3.551 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001251/0.505, allocations: 64.47 kB / 0.8388 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.64e-05/0.505, allocations: 64.55 kB / 0.8389 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/0.505, allocations: 0 / 0.8389 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.5256, allocations: 5.705 MB / 0.8444 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.02/7.546, allocations: 11.11 kB / 0.8445 GB, free: 0.9414 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.449655116070062] Failed to read output from testmodel.py, exit status != 0: 7.62712290417403 7.636002279 7.144453641 Calling exit ...