Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.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.0008023/0.0008023, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0008069/0.0008069, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.9424/0.9424, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.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.6891/0.6891, allocations: 154.5 MB / 414.5 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6195 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.335e-05, allocations: 9.312 kB / 0.6195 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.00776/0.007793, allocations: 7.077 MB / 0.6264 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4657/0.4735, allocations: 137.3 MB / 0.7605 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.4748, allocations: 41.38 kB / 0.7606 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007175/0.4755, allocations: 324.5 kB / 0.7609 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.4775, allocations: 0.856 MB / 0.7617 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.4803, allocations: 1.3 MB / 0.763 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00383/0.4842, allocations: 4.426 MB / 0.7673 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/0.4861, allocations: 1.517 MB / 0.7688 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003775/0.4899, allocations: 2.557 MB / 0.7713 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.4918, allocations: 1.602 MB / 0.7728 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004297/0.4922, allocations: 355.8 kB / 0.7732 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.494, allocations: 0.966 MB / 0.7741 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006151/0.4947, allocations: 0.935 MB / 0.775 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.4957, allocations: 1.204 MB / 0.7762 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004493/0.5002, allocations: 5.066 MB / 0.7812 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5002, allocations: 0 / 0.7812 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5002, allocations: 0 / 0.7812 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.617e-05/0.5002, allocations: 1.156 kB / 0.7812 GB, free: 0.9844 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 787 * Number of variables: 787 Notification: Performance of Generate backend data structure: time 0.004746/0.505, allocations: 3.996 MB / 0.7851 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.505, allocations: 13 kB / 0.7851 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.5163, allocations: 3.544 MB / 0.7885 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003401/0.5197, allocations: 1.975 MB / 0.7905 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.5198, allocations: 231.2 kB / 0.7907 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003512/0.5202, allocations: 299.1 kB / 0.791 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007686/0.5279, allocations: 5.393 MB / 0.7962 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/0.5279, allocations: 10.59 kB / 0.7962 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002526/0.5282, allocations: 130.5 kB / 0.7964 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/0.5282, allocations: 74.47 kB / 0.7964 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009698/0.5379, allocations: 6.142 MB / 0.8024 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01596/0.5538, allocations: 11.46 MB / 0.8136 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007537/0.5614, allocations: 4.505 MB / 0.818 GB, free: 7.254 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003823/0.5652, allocations: 2.348 MB / 0.8203 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/0.5655, allocations: 110.1 kB / 0.8204 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004426/0.5699, allocations: 3.012 MB / 0.8234 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=232): time 4.579e-06/0.5699, allocations: 0 / 0.8234 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of matching and sorting (n=232): time 0.01329/0.5832, allocations: 7.382 MB / 0.8306 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.5833, allocations: 258.8 kB / 0.8308 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/0.5853, allocations: 1.744 MB / 0.8325 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001989/0.5855, allocations: 69.7 kB / 0.8326 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009759/0.5865, allocations: 1.296 MB / 0.8339 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006348/0.5872, allocations: 0.7979 MB / 0.8347 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000705/0.5879, allocations: 0.543 MB / 0.8352 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.894e-05/0.588, allocations: 301.1 kB / 0.8355 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004257/0.5922, allocations: 2.339 MB / 0.8378 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004275/0.5965, allocations: 2.819 MB / 0.8405 GB, free: 15.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008041/0.6045, allocations: 4.659 MB / 0.8451 GB, free: 11.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.6045, allocations: 0 / 0.8451 GB, free: 11.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.009399/0.6139, allocations: 5.38 MB / 0.8503 GB, free: 5.746 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.614, allocations: 8 kB / 0.8503 GB, free: 5.738 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.614, allocations: 4.469 kB / 0.8503 GB, free: 5.734 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/0.6144, allocations: 92.78 kB / 0.8504 GB, free: 5.641 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/0.6171, allocations: 1.049 MB / 0.8514 GB, free: 4.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.6185, allocations: 1.518 MB / 0.8529 GB, free: 2.969 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/0.6215, allocations: 0.7324 MB / 0.8536 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.6217, allocations: 143.4 kB / 0.8538 GB, free: 2.098 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,radSol[1].solAzi.outsidePolarCircle,radSol[2].solAzi.outsidePolarCircle,radSol[3].solAzi.outsidePolarCircle,radSol[4].solAzi.outsidePolarCircle,radSol[5].solAzi.outsidePolarCircle,radSol[6].solAzi.outsidePolarCircle,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (294): * Single equations (assignments): 293 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001768/0.6235, allocations: 0.8051 MB / 0.8546 GB, free: 1.285 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004118/0.6239, allocations: 234.5 kB / 0.8548 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009504/0.6334, allocations: 5.813 MB / 0.8605 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.6334, allocations: 27.94 kB / 0.8605 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6334, allocations: 3.938 kB / 0.8605 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.6334, allocations: 11.95 kB / 0.8605 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/0.6463, allocations: 9.348 MB / 0.8696 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.6463, allocations: 4 kB / 0.8696 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002359/0.6487, allocations: 0.9168 MB / 0.8705 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002808/0.6489, allocations: 72.78 kB / 0.8706 GB, free: 288 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001906/0.6491, allocations: 87.86 kB / 0.8707 GB, free: 200 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.6507, allocations: 1.536 MB / 0.8722 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6507, allocations: 0 / 0.8722 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008951/0.6596, allocations: 5.072 MB / 0.8771 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/0.6608, allocations: 0.66 MB / 0.8778 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/0.6611, allocations: 67.78 kB / 0.8778 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/0.6631, allocations: 0.5775 MB / 0.8784 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002512/0.6634, allocations: 173.7 kB / 0.8786 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/0.6635, allocations: 95.92 kB / 0.8787 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001566/0.6651, allocations: 1.3 MB / 0.8799 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6651, allocations: 0 / 0.8799 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002354/0.6675, allocations: 0.9622 MB / 0.8809 GB, free: 5.547 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001369/0.6688, allocations: 0.7395 MB / 0.8816 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.008669/0.6775, allocations: 5.053 MB / 0.8865 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.6775, allocations: 0 / 0.8865 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003923/0.6814, allocations: 2.501 MB / 0.889 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.6831, allocations: 456.4 kB / 0.8894 GB, free: 13 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.6941, allocations: 7.245 MB / 0.8965 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.6954, allocations: 1.685 MB / 0.8981 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/0.6967, allocations: 348.2 kB / 0.8985 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of SimCode: time 1.673e-06/0.6967, allocations: 0 / 0.8985 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of Templates: time 0.06257/0.7592, allocations: 61.45 MB / 0.9585 GB, free: 6.289 MB / 0.8073 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; mkfifo IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe >> ../files/IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.sim & ./IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 10.358025880530477] Failed to read output from testmodel.py, exit status != 0: 0.7661419464275241 0.7733892 0.271436984 Calling exit ...