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.0006226/0.0006226, allocations: 100.4 kB / 19.7 MB, free: 448 kB / 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.0007061/0.0007061, allocations: 216.9 kB / 23 MB, free: 2.988 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.8569/0.8569, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.7342/0.7342, allocations: 203.8 MB / 0.5049 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: translateModel(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [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.0008622/0.0008622, allocations: 66.45 kB / 0.7194 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4292, allocations: 102 MB / 0.819 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003045/0.4323, allocations: 3.086 MB / 0.822 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.4341, allocations: 1.695 MB / 0.8237 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.437e-05/0.4342, allocations: 7.719 kB / 0.8237 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006503/0.4349, allocations: 338.1 kB / 0.824 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.4352, allocations: 209.8 kB / 0.8242 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.4356, allocations: 186.7 kB / 0.8244 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.4359, allocations: 320.7 kB / 0.8247 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/0.4362, allocations: 176.4 kB / 0.8249 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.4364, allocations: 141.6 kB / 0.825 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.4366, allocations: 161.4 kB / 0.8251 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.4367, allocations: 19.69 kB / 0.8252 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.4369, allocations: 225.1 kB / 0.8254 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.917e-05/0.437, allocations: 106.1 kB / 0.8255 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.707e-05/0.4371, allocations: 96.41 kB / 0.8256 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.4376, allocations: 434.9 kB / 0.826 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4376, allocations: 0 / 0.826 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4376, allocations: 4 kB / 0.826 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.4376, allocations: 0 / 0.826 GB, free: 13.24 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.0007155/0.4383, allocations: 487 kB / 0.8265 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.4383, allocations: 9.953 kB / 0.8265 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004507/0.4388, allocations: 96.89 kB / 0.8266 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.439, allocations: 201.1 kB / 0.8268 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.439, allocations: 24.48 kB / 0.8268 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.612e-05/0.4391, allocations: 27.62 kB / 0.8268 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.4395, allocations: 420 kB / 0.8272 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4396, allocations: 0.7031 kB / 0.8272 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.4396, allocations: 15.75 kB / 0.8272 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-05/0.4396, allocations: 29.11 kB / 0.8272 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.44, allocations: 304.4 kB / 0.8275 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.4412, allocations: 1.045 MB / 0.8286 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.4415, allocations: 210.7 kB / 0.8288 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.4416, allocations: 109.8 kB / 0.8289 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.996e-05/0.4417, allocations: 9.828 kB / 0.8289 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.4417, allocations: 33.52 kB / 0.8289 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.074e-06/0.4417, allocations: 0 / 0.8289 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0008879/0.4426, allocations: 0.7255 MB / 0.8296 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.4426, allocations: 54.64 kB / 0.8297 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.4427, allocations: 194.1 kB / 0.8299 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.4428, allocations: 27.86 kB / 0.8299 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.4428, allocations: 169.8 kB / 0.83 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.4429, allocations: 70.22 kB / 0.8301 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-05/0.4429, allocations: 66.52 kB / 0.8302 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.443, allocations: 324.2 kB / 0.8305 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.4432, allocations: 114.4 kB / 0.8306 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.4433, allocations: 165.7 kB / 0.8307 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.4437, allocations: 303 kB / 0.831 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4437, allocations: 0.5312 kB / 0.831 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005708/0.4443, allocations: 407.8 kB / 0.8314 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4443, allocations: 10.19 kB / 0.8314 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4443, allocations: 5.5 kB / 0.8314 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002686/0.4445, allocations: 101.3 kB / 0.8315 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.4447, allocations: 51.42 kB / 0.8316 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.446, allocations: 1.74 MB / 0.8333 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.4461, allocations: 15.62 kB / 0.8333 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.4461, allocations: 12.73 kB / 0.8333 GB, free: 8.25 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.0001146/0.4462, allocations: 160.5 kB / 0.8335 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.4462, allocations: 16.12 kB / 0.8335 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.4466, allocations: 299.1 kB / 0.8338 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.4466, allocations: 5.984 kB / 0.8338 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.4466, allocations: 0 / 0.8338 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4466, allocations: 2.531 kB / 0.8338 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/0.4472, allocations: 0.6094 MB / 0.8344 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4472, allocations: 1.094 kB / 0.8344 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.4473, allocations: 58.7 kB / 0.8344 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4473, allocations: 5.406 kB / 0.8344 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.4473, allocations: 6.922 kB / 0.8344 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.4473, allocations: 3.234 kB / 0.8344 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4473, allocations: 0 / 0.8344 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.4478, allocations: 0.5127 MB / 0.8349 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.4478, allocations: 37.17 kB / 0.835 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.4478, allocations: 8.172 kB / 0.835 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.925e-05/0.4479, allocations: 13.83 kB / 0.835 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.448, allocations: 19.58 kB / 0.835 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.448, allocations: 9.125 kB / 0.835 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.278e-05/0.4481, allocations: 142.1 kB / 0.8352 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4481, allocations: 0 / 0.8352 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002528/0.4483, allocations: 66.62 kB / 0.8352 GB, free: 7.129 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.0001205/0.4484, allocations: 107 kB / 0.8353 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000515/0.4489, allocations: 414.3 kB / 0.8357 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4489, allocations: 5.312 kB / 0.8357 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.4491, allocations: 112.5 kB / 0.8358 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.4493, allocations: 37.62 kB / 0.8359 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008533/0.4502, allocations: 0.6684 MB / 0.8365 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.4503, allocations: 164.7 kB / 0.8367 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.4504, allocations: 21.28 kB / 0.8367 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/0.4504, allocations: 3.938 kB / 0.8367 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of Templates: time 0.004656/0.455, allocations: 3.657 MB / 0.8403 GB, free: 5.043 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3692554188892245] Failed to read output from testmodel.py, exit status != 0: 0.46036223229020834 0.46856901700000003 0.029100658 Calling exit ...