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.001037/0.001037, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001055/0.001055, allocations: 218.3 kB / 22.25 MB, free: 3.699 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 1.026/1.026, allocations: 230.6 MB / 256 MB, free: 9.801 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.8293/0.8293, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.001028/0.001028, allocations: 66.22 kB / 0.7182 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4987/0.4997, allocations: 102 MB / 0.8178 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004354/0.5041, allocations: 3.216 MB / 0.821 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002451/0.5065, allocations: 1.821 MB / 0.8228 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.5067, allocations: 7.656 kB / 0.8228 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007505/0.5075, allocations: 352.9 kB / 0.8231 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004689/0.508, allocations: 209.1 kB / 0.8233 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.5084, allocations: 182.9 kB / 0.8235 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003492/0.5088, allocations: 319.4 kB / 0.8238 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003254/0.5091, allocations: 173.6 kB / 0.824 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.5093, allocations: 150.7 kB / 0.8241 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.5096, allocations: 168.9 kB / 0.8243 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.5096, allocations: 21.03 kB / 0.8243 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.51, allocations: 251.5 kB / 0.8245 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.5101, allocations: 101.6 kB / 0.8246 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.5102, allocations: 121.2 kB / 0.8247 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006154/0.5108, allocations: 433.8 kB / 0.8251 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5108, allocations: 0 / 0.8251 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.976e-06/0.5109, allocations: 1.875 kB / 0.8251 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.5109, allocations: 0 / 0.8251 GB, free: 12.84 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.000866/0.5117, allocations: 487 kB / 0.8256 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.5118, allocations: 8.75 kB / 0.8256 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.5118, allocations: 61.55 kB / 0.8257 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000459/0.5123, allocations: 101.1 kB / 0.8258 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.5126, allocations: 196.8 kB / 0.826 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.5126, allocations: 21.38 kB / 0.826 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.119e-05/0.5127, allocations: 21.42 kB / 0.826 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/0.5131, allocations: 376.1 kB / 0.8264 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.5131, allocations: 3.938 kB / 0.8264 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.5132, allocations: 11.33 kB / 0.8264 GB, free: 12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.009e-05/0.5132, allocations: 30.91 kB / 0.8264 GB, free: 12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003842/0.5136, allocations: 309.3 kB / 0.8267 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.5152, allocations: 1.498 MB / 0.8282 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.5155, allocations: 214.3 kB / 0.8284 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.5156, allocations: 99.86 kB / 0.8285 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.886e-05/0.5157, allocations: 9.484 kB / 0.8285 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.5157, allocations: 35.88 kB / 0.8285 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.5157, allocations: 4 kB / 0.8285 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001132/0.5169, allocations: 0.7131 MB / 0.8292 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.5169, allocations: 52.81 kB / 0.8293 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.5171, allocations: 200.7 kB / 0.8295 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.5171, allocations: 25.7 kB / 0.8295 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.5172, allocations: 162.2 kB / 0.8296 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.5172, allocations: 77.73 kB / 0.8297 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/0.5173, allocations: 57.52 kB / 0.8298 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.5174, allocations: 333.8 kB / 0.8301 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.5176, allocations: 113.8 kB / 0.8302 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.5177, allocations: 168.6 kB / 0.8303 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.5181, allocations: 293.7 kB / 0.8306 GB, free: 9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5181, allocations: 0.5 kB / 0.8306 GB, free: 9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007452/0.5188, allocations: 416.2 kB / 0.831 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.5188, allocations: 5.719 kB / 0.831 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.5188, allocations: 1.781 kB / 0.831 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/0.5192, allocations: 105.2 kB / 0.8311 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.5194, allocations: 51.11 kB / 0.8312 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/0.521, allocations: 1.777 MB / 0.8329 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.5211, allocations: 24 kB / 0.8329 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.5211, allocations: 12.64 kB / 0.833 GB, free: 7.32 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.0001424/0.5213, allocations: 161.3 kB / 0.8331 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.5213, allocations: 16.91 kB / 0.8331 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.5217, allocations: 303.2 kB / 0.8334 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5217, allocations: 2.344 kB / 0.8334 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.5217, allocations: 0.75 kB / 0.8334 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5217, allocations: 4.5 kB / 0.8334 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007532/0.5225, allocations: 0.6797 MB / 0.8341 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5225, allocations: 1.156 kB / 0.8341 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.5226, allocations: 57.47 kB / 0.8341 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5227, allocations: 5.188 kB / 0.8341 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.5227, allocations: 7.984 kB / 0.8341 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5227, allocations: 1.641 kB / 0.8342 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5227, allocations: 1.094 kB / 0.8342 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004849/0.5232, allocations: 0.5138 MB / 0.8347 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.5232, allocations: 42.77 kB / 0.8347 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.5232, allocations: 7.047 kB / 0.8347 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.851e-05/0.5233, allocations: 15.5 kB / 0.8347 GB, free: 6.266 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.5234, allocations: 9.828 kB / 0.8347 GB, free: 6.266 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.5234, allocations: 10.44 kB / 0.8347 GB, free: 6.262 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001021/0.5235, allocations: 146.5 kB / 0.8349 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5235, allocations: 0 / 0.8349 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000302/0.5238, allocations: 66.86 kB / 0.8349 GB, free: 6.152 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.0007232/0.5245, allocations: 1.059 MB / 0.836 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000599/0.5251, allocations: 419.1 kB / 0.8364 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5251, allocations: 0 / 0.8364 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.5252, allocations: 116.1 kB / 0.8365 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.5255, allocations: 43.95 kB / 0.8365 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.5283, allocations: 2.888 MB / 0.8393 GB, free: 3.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.5286, allocations: 0.7781 MB / 0.8401 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001441/0.5288, allocations: 59.42 kB / 0.8402 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.369e-05/0.5289, allocations: 68.22 kB / 0.8402 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.5289, allocations: 3.938 kB / 0.8402 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.553, allocations: 5.323 MB / 0.8454 GB, free: 172 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.786/7.339, allocations: 17.44 kB / 0.8454 GB, free: 160 kB / 0.6198 GB " [Timeout remaining time 653] (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.492132033919916] Failed to read output from testmodel.py, exit status != 0: 7.423375878017396 7.433305625 6.920386862 Calling exit ...