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.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.001818/0.001818, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001989/0.001989, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.395/1.395, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.045/1.045, allocations: 175.7 MB / 479.1 MB, free: 3.688 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: 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: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 63.66 kB / 0.6663 GB, free: 10.89 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1895, allocations: 94.56 MB / 0.7587 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005302/0.1948, allocations: 3.101 MB / 0.7617 GB, free: 14 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.003076/0.1978, allocations: 1.745 MB / 0.7634 GB, free: 12.24 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.198, allocations: 4 kB / 0.7634 GB, free: 12.24 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.1991, allocations: 338.7 kB / 0.7637 GB, free: 11.91 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0005781/0.1997, allocations: 211.1 kB / 0.7639 GB, free: 11.7 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.2002, allocations: 190.1 kB / 0.7641 GB, free: 11.52 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0004886/0.2007, allocations: 315 kB / 0.7644 GB, free: 11.21 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004138/0.2011, allocations: 184.8 kB / 0.7646 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.2014, allocations: 135.5 kB / 0.7647 GB, free: 10.89 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004255/0.2018, allocations: 179.4 kB / 0.7649 GB, free: 10.71 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.2019, allocations: 27.94 kB / 0.7649 GB, free: 10.68 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004806/0.2024, allocations: 247.5 kB / 0.7652 GB, free: 10.44 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.2025, allocations: 107.7 kB / 0.7653 GB, free: 10.34 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.2027, allocations: 115.5 kB / 0.7654 GB, free: 10.22 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0006753/0.2034, allocations: 430.5 kB / 0.7658 GB, free: 9.801 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2034, allocations: 0 / 0.7658 GB, free: 9.801 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2034, allocations: 3.938 kB / 0.7658 GB, free: 9.797 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.2034, allocations: 0 / 0.7658 GB, free: 9.797 MB / 0.5763 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.001171/0.2046, allocations: 0.5493 MB / 0.7663 GB, free: 9.199 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2046, allocations: 8.031 kB / 0.7663 GB, free: 9.191 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009498/0.2055, allocations: 92.69 kB / 0.7664 GB, free: 9.102 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.2061, allocations: 265.5 kB / 0.7667 GB, free: 8.805 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.2061, allocations: 16.75 kB / 0.7667 GB, free: 8.789 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.2062, allocations: 28.52 kB / 0.7667 GB, free: 8.762 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.2072, allocations: 377.2 kB / 0.7671 GB, free: 8.371 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.2072, allocations: 0 / 0.7671 GB, free: 8.371 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.867e-05/0.2072, allocations: 11.97 kB / 0.7671 GB, free: 8.359 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000154/0.2074, allocations: 36.36 kB / 0.7671 GB, free: 8.32 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007567/0.2081, allocations: 305.5 kB / 0.7674 GB, free: 8.023 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/0.2108, allocations: 1.514 MB / 0.7689 GB, free: 6.359 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006724/0.2115, allocations: 222.3 kB / 0.7691 GB, free: 6.133 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.2118, allocations: 105.1 kB / 0.7692 GB, free: 6.027 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.212, allocations: 85.09 kB / 0.7693 GB, free: 5.926 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.212, allocations: 46.47 kB / 0.7693 GB, free: 5.871 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.212, allocations: 0 / 0.7693 GB, free: 5.871 MB / 0.5763 GB Notification: Performance of matching and sorting (n=19): time 0.002013/0.214, allocations: 0.7846 MB / 0.7701 GB, free: 5.035 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.2141, allocations: 59.41 kB / 0.7701 GB, free: 4.965 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.2144, allocations: 195.4 kB / 0.7703 GB, free: 4.762 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.2144, allocations: 29.7 kB / 0.7704 GB, free: 4.727 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.2146, allocations: 168.2 kB / 0.7705 GB, free: 4.559 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 8.188e-05/0.2147, allocations: 63.44 kB / 0.7706 GB, free: 4.496 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.2149, allocations: 57.64 kB / 0.7706 GB, free: 4.434 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0002196/0.2151, allocations: 330.8 kB / 0.771 GB, free: 4.102 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.2154, allocations: 119.9 kB / 0.7711 GB, free: 3.984 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.2157, allocations: 175.5 kB / 0.7712 GB, free: 3.793 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006573/0.2164, allocations: 296.8 kB / 0.7715 GB, free: 3.484 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2164, allocations: 0 / 0.7715 GB, free: 3.484 MB / 0.5763 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00124/0.2176, allocations: 413.9 kB / 0.7719 GB, free: 3.07 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.2177, allocations: 4.188 kB / 0.7719 GB, free: 3.066 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.2177, allocations: 8 kB / 0.7719 GB, free: 3.059 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007058/0.2184, allocations: 92.77 kB / 0.772 GB, free: 2.965 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.2188, allocations: 51.89 kB / 0.7721 GB, free: 2.914 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/0.2222, allocations: 1.891 MB / 0.7739 GB, free: 0.8828 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.2226, allocations: 20.11 kB / 0.7739 GB, free: 0.8633 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.2226, allocations: 8 kB / 0.7739 GB, free: 0.8555 MB / 0.5763 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.0003058/0.2229, allocations: 154.3 kB / 0.7741 GB, free: 0.6953 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.547e-05/0.223, allocations: 31.8 kB / 0.7741 GB, free: 0.6641 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008027/0.2238, allocations: 301.8 kB / 0.7744 GB, free: 372 kB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2238, allocations: 0 / 0.7744 GB, free: 372 kB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.2238, allocations: 0 / 0.7744 GB, free: 372 kB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.2238, allocations: 3.938 kB / 0.7744 GB, free: 368 kB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.2253, allocations: 0.6991 MB / 0.7751 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2253, allocations: 0 / 0.7751 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/0.2257, allocations: 67.95 kB / 0.7752 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.2257, allocations: 0 / 0.7752 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.2258, allocations: 11.92 kB / 0.7752 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2258, allocations: 0 / 0.7752 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2258, allocations: 0 / 0.7752 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.2268, allocations: 0.5105 MB / 0.7757 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.227, allocations: 129 kB / 0.7758 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.2271, allocations: 4 kB / 0.7758 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.2273, allocations: 11.98 kB / 0.7758 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.2274, allocations: 19.92 kB / 0.7758 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.2274, allocations: 4 kB / 0.7758 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002305/0.2276, allocations: 144.6 kB / 0.776 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2276, allocations: 4 kB / 0.776 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006448/0.2283, allocations: 67.94 kB / 0.776 GB, free: 14.59 MB / 0.5919 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.0002336/0.2285, allocations: 111.2 kB / 0.7761 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.2296, allocations: 395 kB / 0.7765 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2296, allocations: 0 / 0.7765 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.2299, allocations: 112.3 kB / 0.7766 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.2305, allocations: 49.62 kB / 0.7767 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.2324, allocations: 0.6711 MB / 0.7773 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006258/0.233, allocations: 0.7677 MB / 0.7781 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.2332, allocations: 27.42 kB / 0.7781 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.2332, allocations: 0 / 0.7781 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of Templates: time 0.0093/0.2425, allocations: 3.628 MB / 0.7816 GB, free: 8.762 MB / 0.5919 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: 8.646238382905722] Failed to read output from testmodel.py, exit status != 0: 0.25103285582736135 0.26805758799999996 0.061672328000000005 Calling exit ...