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.001485/0.001485, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001364/0.001364, allocations: 194.6 kB / 22.17 MB, free: 5.656 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.373/1.373, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.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.044/1.044, allocations: 175.8 MB / 481.9 MB, free: 7.707 MB / 382.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.002074/0.002074, allocations: 70.69 kB / 0.6705 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5177/0.5198, allocations: 94.53 MB / 0.7628 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004229/0.524, allocations: 3.193 MB / 0.7659 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002375/0.5264, allocations: 1.783 MB / 0.7677 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.5265, allocations: 5.688 kB / 0.7677 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.5275, allocations: 343.5 kB / 0.768 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004878/0.528, allocations: 215.2 kB / 0.7682 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.5285, allocations: 186.1 kB / 0.7684 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.5288, allocations: 315.9 kB / 0.7687 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.5291, allocations: 160.6 kB / 0.7688 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.5293, allocations: 135.9 kB / 0.769 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.5296, allocations: 169.9 kB / 0.7691 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.5296, allocations: 20.22 kB / 0.7691 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.53, allocations: 247.7 kB / 0.7694 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.5301, allocations: 111.4 kB / 0.7695 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.5302, allocations: 116.4 kB / 0.7696 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.5307, allocations: 429.3 kB / 0.77 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5307, allocations: 2.062 kB / 0.77 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5307, allocations: 5.438 kB / 0.77 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.5307, allocations: 0 / 0.77 GB, free: 6.184 MB / 0.5762 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.0008629/0.5316, allocations: 0.5534 MB / 0.7706 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.5316, allocations: 10.06 kB / 0.7706 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007/0.5323, allocations: 94.98 kB / 0.7707 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.5326, allocations: 259.2 kB / 0.7709 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.5326, allocations: 17.69 kB / 0.7709 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.5328, allocations: 31.98 kB / 0.771 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.5333, allocations: 372 kB / 0.7713 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.5333, allocations: 1.562 kB / 0.7713 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/0.5333, allocations: 10.52 kB / 0.7713 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.573e-05/0.5334, allocations: 34.38 kB / 0.7714 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.5338, allocations: 308.3 kB / 0.7716 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.5353, allocations: 1.518 MB / 0.7731 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.5357, allocations: 221.7 kB / 0.7733 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.5359, allocations: 105.9 kB / 0.7734 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.536, allocations: 86.25 kB / 0.7735 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.536, allocations: 45.09 kB / 0.7736 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.536, allocations: 0 / 0.7736 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.00117/0.5372, allocations: 0.7889 MB / 0.7743 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/0.5372, allocations: 53.89 kB / 0.7744 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.5374, allocations: 196.1 kB / 0.7746 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.5374, allocations: 26.86 kB / 0.7746 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.5375, allocations: 161.4 kB / 0.7748 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.5375, allocations: 70.97 kB / 0.7748 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.995e-05/0.5376, allocations: 65.06 kB / 0.7749 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.5376, allocations: 328.5 kB / 0.7752 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.5378, allocations: 117.9 kB / 0.7753 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.538, allocations: 171.4 kB / 0.7755 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.5384, allocations: 299.4 kB / 0.7758 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.5384, allocations: 0 / 0.7758 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006456/0.539, allocations: 416.8 kB / 0.7762 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.539, allocations: 8.312 kB / 0.7762 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.539, allocations: 2.625 kB / 0.7762 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003796/0.5394, allocations: 101.7 kB / 0.7763 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.5396, allocations: 54.3 kB / 0.7763 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.5411, allocations: 1.872 MB / 0.7781 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.5413, allocations: 18.34 kB / 0.7782 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.5413, allocations: 10.73 kB / 0.7782 GB, free: 240 kB / 0.5762 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.0001226/0.5414, allocations: 159.4 kB / 0.7783 GB, free: 96 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.5415, allocations: 30.08 kB / 0.7784 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004786/0.5419, allocations: 302 kB / 0.7786 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5419, allocations: 5.031 kB / 0.7786 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.5419, allocations: 0 / 0.7786 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.542, allocations: 5.531 kB / 0.7786 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009263/0.5429, allocations: 0.6908 MB / 0.7793 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5429, allocations: 1.672 kB / 0.7793 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.5432, allocations: 58.44 kB / 0.7794 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.5432, allocations: 1.406 kB / 0.7794 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.5432, allocations: 12.67 kB / 0.7794 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5432, allocations: 0.8438 kB / 0.7794 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5432, allocations: 2.469 kB / 0.7794 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.5438, allocations: 0.5146 MB / 0.7799 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.5439, allocations: 124 kB / 0.78 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.449e-05/0.544, allocations: 6.016 kB / 0.78 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.5442, allocations: 14.08 kB / 0.78 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.5442, allocations: 12.67 kB / 0.7801 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.5442, allocations: 11.81 kB / 0.7801 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001436/0.5443, allocations: 152.2 kB / 0.7802 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5443, allocations: 0 / 0.7802 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003516/0.5447, allocations: 66.09 kB / 0.7803 GB, free: 14.93 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.0001393/0.5448, allocations: 105.3 kB / 0.7804 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007103/0.5455, allocations: 411.3 kB / 0.7808 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5455, allocations: 0 / 0.7808 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.5457, allocations: 111 kB / 0.7809 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.5461, allocations: 52.06 kB / 0.7809 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.5472, allocations: 0.6293 MB / 0.7815 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.5476, allocations: 0.7727 MB / 0.7823 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001546/0.5478, allocations: 63.52 kB / 0.7823 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.5478, allocations: 19.95 kB / 0.7824 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.5478, allocations: 0 / 0.7824 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of Templates: time 0.006524/0.5544, allocations: 2.947 MB / 0.7852 GB, free: 13.26 MB / 0.5919 GB " [Timeout remaining time 659] 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.763780585955828] Failed to read output from testmodel.py, exit status != 0: 0.5626971679739654 0.5769144660000001 0.043272567000000005 Calling exit ...