Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.0008277/0.0008277, allocations: 76.52 kB / 19.91 MB, free: 4.641 MB / 18.57 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.0008593/0.0008593, allocations: 169.2 kB / 23.2 MB, free: 1.359 MB / 18.57 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.9221/0.9221, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7042/0.7042, allocations: 154.7 MB / 414.7 MB, free: 0.7383 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") [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.0009914/0.0009914, allocations: 67.89 kB / 0.6196 GB, free: 13.12 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.484/0.485, allocations: 102 MB / 0.7191 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01465/0.4997, allocations: 16.75 MB / 0.7355 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.008182/0.5078, allocations: 5.8 MB / 0.7411 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.5092, allocations: 60.44 kB / 0.7412 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.5113, allocations: 1.313 MB / 0.7425 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00193/0.5133, allocations: 0.8534 MB / 0.7433 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.5159, allocations: 1.339 MB / 0.7446 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004361/0.5203, allocations: 4.299 MB / 0.7488 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003954/0.5242, allocations: 3.135 MB / 0.7519 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004069/0.5283, allocations: 2.765 MB / 0.7546 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003614/0.5319, allocations: 2.287 MB / 0.7568 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001386/0.5333, allocations: 445.1 kB / 0.7572 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.5358, allocations: 0.8129 MB / 0.758 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002013/0.5378, allocations: 1.769 MB / 0.7598 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002608/0.5404, allocations: 1.432 MB / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008012/0.5484, allocations: 6.734 MB / 0.7677 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.5484, allocations: 0 / 0.7677 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.467e-06/0.5484, allocations: 0 / 0.7677 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002986/0.5487, allocations: 0 / 0.7677 GB, free: 11.01 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.01056/0.5593, allocations: 3.063 MB / 0.7707 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.5593, allocations: 12.44 kB / 0.7707 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00375/0.5631, allocations: 1.138 MB / 0.7719 GB, free: 8.387 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003563/0.5667, allocations: 1.619 MB / 0.7734 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/0.5668, allocations: 223.7 kB / 0.7736 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006644/0.5675, allocations: 295.4 kB / 0.7739 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009028/0.5765, allocations: 5.455 MB / 0.7793 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.666e-05/0.5765, allocations: 1.625 kB / 0.7793 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002682/0.5768, allocations: 122 kB / 0.7794 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002049/0.577, allocations: 205.5 kB / 0.7796 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006577/0.5836, allocations: 4.752 MB / 0.7842 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.5999, allocations: 13.95 MB / 0.7978 GB, free: 0.6719 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.6024, allocations: 2.184 MB / 0.8 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008617/0.6032, allocations: 0.8743 MB / 0.8008 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.569e-05/0.6033, allocations: 24.64 kB / 0.8008 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.6034, allocations: 55.14 kB / 0.8009 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 3.516e-06/0.6034, allocations: 0 / 0.8009 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.002498/0.6059, allocations: 2.083 MB / 0.8029 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/0.6059, allocations: 214.3 kB / 0.8031 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.607, allocations: 1.141 MB / 0.8042 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.424e-05/0.6071, allocations: 41.7 kB / 0.8043 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000557/0.6076, allocations: 1.337 MB / 0.8056 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.6078, allocations: 313.5 kB / 0.8059 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003449/0.6082, allocations: 355.3 kB / 0.8062 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.6082, allocations: 341.9 kB / 0.8066 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008314/0.6091, allocations: 0.8947 MB / 0.8074 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.6102, allocations: 1.661 MB / 0.8091 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.6124, allocations: 2.358 MB / 0.8114 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.6124, allocations: 12 kB / 0.8114 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.002467/0.6149, allocations: 2.488 MB / 0.8138 GB, free: 15.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.6149, allocations: 16 kB / 0.8138 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.6149, allocations: 16 kB / 0.8138 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/0.6149, allocations: 28.75 kB / 0.8139 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/0.6158, allocations: 471.2 kB / 0.8143 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.733e-05/0.6158, allocations: 43.8 kB / 0.8143 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008825/0.6167, allocations: 342.4 kB / 0.8147 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-05/0.6168, allocations: 80.05 kB / 0.8147 GB, free: 14.58 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002503/0.6193, allocations: 1.905 MB / 0.8166 GB, free: 12.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001102/0.6204, allocations: 1.593 MB / 0.8182 GB, free: 10.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001665/0.6221, allocations: 2.206 MB / 0.8203 GB, free: 8.281 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.683e-06/0.6221, allocations: 4 kB / 0.8203 GB, free: 8.277 MB / 0.698 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.002344/0.6244, allocations: 2.328 MB / 0.8226 GB, free: 5.938 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.6245, allocations: 13 kB / 0.8226 GB, free: 5.926 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.6245, allocations: 20 kB / 0.8226 GB, free: 5.906 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.6245, allocations: 32 kB / 0.8227 GB, free: 5.875 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.6258, allocations: 443.2 kB / 0.8231 GB, free: 5.441 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.681e-05/0.6259, allocations: 47.78 kB / 0.8231 GB, free: 5.395 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008976/0.6268, allocations: 286.9 kB / 0.8234 GB, free: 5.113 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-05/0.6268, allocations: 75.98 kB / 0.8235 GB, free: 5.039 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * 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 prepare postOptimizeDAE: time 0.0002934/0.6271, allocations: 284.6 kB / 0.8237 GB, free: 4.754 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.6273, allocations: 111.3 kB / 0.8238 GB, free: 4.645 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.6288, allocations: 1.56 MB / 0.8254 GB, free: 3.066 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-06/0.6288, allocations: 7.984 kB / 0.8254 GB, free: 3.059 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6288, allocations: 0 / 0.8254 GB, free: 3.059 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/0.6291, allocations: 255 kB / 0.8256 GB, free: 2.809 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.244e-05/0.6292, allocations: 23.94 kB / 0.8256 GB, free: 2.785 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005322/0.6297, allocations: 167.7 kB / 0.8258 GB, free: 2.621 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.6299, allocations: 48.56 kB / 0.8259 GB, free: 2.57 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001483/0.6313, allocations: 1.914 MB / 0.8277 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001397/0.6327, allocations: 1.981 MB / 0.8297 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007787/0.6335, allocations: 0.5945 MB / 0.8302 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007205/0.6342, allocations: 0.7957 MB / 0.831 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of Backend: time 4.91e-07/0.6342, allocations: 0 / 0.831 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003582/0.6378, allocations: 2.575 MB / 0.8335 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of SimCode: time 0.005711/0.6435, allocations: 4.581 MB / 0.838 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of Templates: time 0.03029/0.6738, allocations: 28.43 MB / 0.8658 GB, free: 10.02 MB / 0.7448 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.805619213031605] Failed to read output from testmodel.py, exit status != 0: 0.6802645600400865 0.689200668 0.13867347200000002 Calling exit ...