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.0007764/0.0007764, allocations: 113.9 kB / 18.94 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.0008211/0.0008211, allocations: 217.2 kB / 22.26 MB, free: 3.695 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.9778/0.9778, allocations: 230.6 MB / 256 MB, free: 9.781 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.8199/0.8199, allocations: 203.8 MB / 0.5042 GB, free: 10.66 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.001125/0.001125, allocations: 65.48 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.548/0.5492, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003717/0.5529, allocations: 3.205 MB / 0.821 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002422/0.5553, allocations: 1.829 MB / 0.8228 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.5554, allocations: 9.469 kB / 0.8228 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007647/0.5562, allocations: 343.1 kB / 0.8231 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005216/0.5567, allocations: 210.1 kB / 0.8233 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.5572, allocations: 183.4 kB / 0.8235 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.5576, allocations: 325.2 kB / 0.8238 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.5579, allocations: 168.6 kB / 0.824 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.5582, allocations: 144.4 kB / 0.8241 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.5585, allocations: 172 kB / 0.8243 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.5585, allocations: 21.03 kB / 0.8243 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/0.5589, allocations: 251.4 kB / 0.8245 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.5591, allocations: 113.9 kB / 0.8246 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.5592, allocations: 121 kB / 0.8247 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006978/0.5599, allocations: 425.9 kB / 0.8251 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.5599, allocations: 1.125 kB / 0.8251 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.956e-06/0.5599, allocations: 0 / 0.8251 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.5599, allocations: 0 / 0.8251 GB, free: 12.83 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.001034/0.561, allocations: 487.1 kB / 0.8256 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.561, allocations: 9.188 kB / 0.8256 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.066e-05/0.5611, allocations: 66.66 kB / 0.8257 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004558/0.5615, allocations: 96.16 kB / 0.8258 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.5618, allocations: 196.4 kB / 0.826 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.5618, allocations: 16.8 kB / 0.826 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.209e-05/0.5619, allocations: 27.14 kB / 0.826 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.5624, allocations: 375.6 kB / 0.8264 GB, free: 12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.5624, allocations: 4 kB / 0.8264 GB, free: 12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.5624, allocations: 9.406 kB / 0.8264 GB, free: 12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.519e-05/0.5625, allocations: 30.53 kB / 0.8264 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.5629, allocations: 303.2 kB / 0.8267 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.5642, allocations: 1.506 MB / 0.8282 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.5645, allocations: 207.5 kB / 0.8284 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.5646, allocations: 109.7 kB / 0.8285 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.063e-05/0.5647, allocations: 9.344 kB / 0.8285 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.5647, allocations: 33.58 kB / 0.8285 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.943e-06/0.5647, allocations: 0 / 0.8285 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0009715/0.5657, allocations: 0.7151 MB / 0.8292 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.5657, allocations: 54.7 kB / 0.8293 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.5659, allocations: 198 kB / 0.8294 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.5659, allocations: 31.11 kB / 0.8295 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.77e-05/0.566, allocations: 166 kB / 0.8296 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.566, allocations: 75.02 kB / 0.8297 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.5661, allocations: 54.03 kB / 0.8298 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5663, allocations: 332 kB / 0.8301 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.5664, allocations: 114.2 kB / 0.8302 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.5666, allocations: 164.2 kB / 0.8303 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.5669, allocations: 298.5 kB / 0.8306 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5669, allocations: 0 / 0.8306 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006871/0.5675, allocations: 416.5 kB / 0.831 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.5676, allocations: 8.188 kB / 0.831 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.5676, allocations: 2.766 kB / 0.831 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003204/0.5679, allocations: 107.6 kB / 0.8311 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.5681, allocations: 47.5 kB / 0.8312 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.5696, allocations: 1.782 MB / 0.8329 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.5697, allocations: 27.17 kB / 0.8329 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.5697, allocations: 8.766 kB / 0.833 GB, free: 7.309 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.0001533/0.5699, allocations: 156.5 kB / 0.8331 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.5699, allocations: 17.48 kB / 0.8331 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.5703, allocations: 298.8 kB / 0.8334 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.5703, allocations: 3.047 kB / 0.8334 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.5703, allocations: 4.172 kB / 0.8334 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.5703, allocations: 10.36 kB / 0.8334 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000752/0.571, allocations: 0.6683 MB / 0.8341 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.571, allocations: 0.7969 kB / 0.8341 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.5712, allocations: 61.75 kB / 0.8341 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.5712, allocations: 9.875 kB / 0.8341 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.5712, allocations: 3.641 kB / 0.8341 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5712, allocations: 1.594 kB / 0.8341 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5712, allocations: 1.188 kB / 0.8341 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.5717, allocations: 0.5156 MB / 0.8347 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.5718, allocations: 41.66 kB / 0.8347 GB, free: 6.266 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.5718, allocations: 12.89 kB / 0.8347 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-05/0.5719, allocations: 9.266 kB / 0.8347 GB, free: 6.258 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.5719, allocations: 15.34 kB / 0.8347 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.5719, allocations: 5.078 kB / 0.8347 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001069/0.572, allocations: 143.5 kB / 0.8349 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.572, allocations: 1.156 kB / 0.8349 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003025/0.5723, allocations: 65.31 kB / 0.8349 GB, free: 6.148 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.0007074/0.573, allocations: 1.059 MB / 0.836 GB, free: 5.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005886/0.5736, allocations: 422.3 kB / 0.8364 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5736, allocations: 0.875 kB / 0.8364 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.5738, allocations: 111.9 kB / 0.8365 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.5741, allocations: 46.02 kB / 0.8365 GB, free: 5.043 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.5776, allocations: 2.9 MB / 0.8394 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.5779, allocations: 0.7735 MB / 0.8401 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001487/0.578, allocations: 59.14 kB / 0.8402 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.5781, allocations: 69.69 kB / 0.8402 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of SimCode: time 1.213e-06/0.5781, allocations: 4 kB / 0.8402 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.6012, allocations: 5.318 MB / 0.8454 GB, free: 204 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.588, allocations: 13.78 kB / 0.8454 GB, free: 196 kB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.626978358021006] Failed to read output from testmodel.py, exit status != 0: 7.673842171905562 7.685058694 7.122956588 Calling exit ...