Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: "" <> buildModelFMU(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 239.3 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 188.5 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.545/0.545, allocations: 91.9 MB / 431.6 MB, free: 9.23 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 79.88 kB / 0.502 GB, free: 7.594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4678/0.4695, allocations: 71.26 MB / 0.5716 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant): time 0.005972/0.4756, allocations: 6.066 MB / 0.5775 GB, free: 33.31 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.479, allocations: 1.785 MB / 0.5792 GB, free: 32.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006393/0.4796, allocations: 16.19 kB / 0.5793 GB, free: 32.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000642/0.4804, allocations: 234.7 kB / 0.5795 GB, free: 32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.4818, allocations: 0.5426 MB / 0.58 GB, free: 31.63 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.4835, allocations: 0.7511 MB / 0.5807 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.4848, allocations: 1.354 MB / 0.5821 GB, free: 30.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.4852, allocations: 294.6 kB / 0.5823 GB, free: 30.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004992/0.4857, allocations: 0.5415 MB / 0.5829 GB, free: 30.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006478/0.4864, allocations: 0.7122 MB / 0.5836 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.4865, allocations: 107.4 kB / 0.5837 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003871/0.4869, allocations: 221.9 kB / 0.5839 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.4871, allocations: 272.8 kB / 0.5841 GB, free: 29.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.4875, allocations: 0.5948 MB / 0.5847 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.4889, allocations: 1.436 MB / 0.5861 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4889, allocations: 1.281 kB / 0.5861 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.4889, allocations: 0 / 0.5861 GB, free: 28.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.4889, allocations: 0 / 0.5861 GB, free: 28.54 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.007987/0.4969, allocations: 2.505 MB / 0.5886 GB, free: 27.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.497, allocations: 10.09 kB / 0.5886 GB, free: 27.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.4971, allocations: 126.6 kB / 0.5887 GB, free: 27.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004025/0.5012, allocations: 0.6713 MB / 0.5894 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.5023, allocations: 0.7431 MB / 0.5901 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003162/0.5026, allocations: 341.3 kB / 0.5904 GB, free: 26.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.5027, allocations: 78.45 kB / 0.5905 GB, free: 26.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.505, allocations: 1.111 MB / 0.5916 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.505, allocations: 0 / 0.5916 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.943e-05/0.5051, allocations: 25.5 kB / 0.5916 GB, free: 25.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.5051, allocations: 17.12 kB / 0.5916 GB, free: 25.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.5074, allocations: 1.054 MB / 0.5926 GB, free: 25.52 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005823/0.5132, allocations: 3.429 MB / 0.596 GB, free: 23.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01738/0.5306, allocations: 3.942 MB / 0.5998 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002099/0.5328, allocations: 0.7354 MB / 0.6006 GB, free: 22.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.5329, allocations: 15.41 kB / 0.6006 GB, free: 22.19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.533, allocations: 44.77 kB / 0.6006 GB, free: 22.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=88): time 3.988e-06/0.533, allocations: 0 / 0.6006 GB, free: 22.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.03873/0.5717, allocations: 8.459 MB / 0.6089 GB, free: 20.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/0.5719, allocations: 90.61 kB / 0.609 GB, free: 20.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.5733, allocations: 0.8472 MB / 0.6098 GB, free: 19.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002825/0.5736, allocations: 40.86 kB / 0.6098 GB, free: 19.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.5739, allocations: 452.8 kB / 0.6103 GB, free: 19.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/0.5743, allocations: 309.7 kB / 0.6106 GB, free: 19.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004569/0.5747, allocations: 154.2 kB / 0.6107 GB, free: 19.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5749, allocations: 345.8 kB / 0.611 GB, free: 18.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.5766, allocations: 0.6393 MB / 0.6117 GB, free: 18.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.5783, allocations: 0.7786 MB / 0.6124 GB, free: 18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/0.5815, allocations: 1.437 MB / 0.6138 GB, free: 17.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.5815, allocations: 1.438 kB / 0.6138 GB, free: 17.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01483/0.5964, allocations: 4.304 MB / 0.618 GB, free: 14.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.5965, allocations: 4 kB / 0.618 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.5965, allocations: 4 kB / 0.618 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006594/0.6031, allocations: 2.088 MB / 0.6201 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000705/0.6038, allocations: 127.8 kB / 0.6202 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02553/0.6294, allocations: 10.65 MB / 0.6306 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.6313, allocations: 167 kB / 0.6308 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.853e-05/0.6314, allocations: 35.98 kB / 0.6308 GB, free: 1.227 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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 {(26,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0005008/0.6319, allocations: 222.7 kB / 0.631 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.6321, allocations: 110.7 kB / 0.6311 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/0.647, allocations: 4.27 MB / 0.6353 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/0.6471, allocations: 12 kB / 0.6353 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.6471, allocations: 3.938 kB / 0.6353 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.173e-05/0.6471, allocations: 3.984 kB / 0.6353 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01698/0.6641, allocations: 5.679 MB / 0.6408 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.55e-05/0.6642, allocations: 0 / 0.6408 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005521/0.6648, allocations: 83.84 kB / 0.6409 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007017/0.6718, allocations: 1.987 MB / 0.6429 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001976/0.672, allocations: 23.98 kB / 0.6429 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02494/0.697, allocations: 9.453 MB / 0.6521 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.697, allocations: 7.938 kB / 0.6521 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01672/0.7137, allocations: 5.235 MB / 0.6572 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004652/0.7143, allocations: 203.5 kB / 0.6574 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.7144, allocations: 20 kB / 0.6575 GB, free: 5.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.7155, allocations: 99.89 kB / 0.6575 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007387/0.7163, allocations: 224.7 kB / 0.6578 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.854e-05/0.7163, allocations: 20 kB / 0.6578 GB, free: 5.238 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007652/0.7171, allocations: 0.5908 MB / 0.6584 GB, free: 4.637 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7171, allocations: 0 / 0.6584 GB, free: 4.637 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001373/0.7185, allocations: 419.6 kB / 0.6588 GB, free: 4.227 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (50): * Single equations (assignments): 49 * 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 {(26,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01718/0.7357, allocations: 5.811 MB / 0.6644 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007809/0.7435, allocations: 2.436 MB / 0.6668 GB, free: 11.93 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.7436, allocations: 0 / 0.6668 GB, free: 11.93 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005578/0.7492, allocations: 1.67 MB / 0.6684 GB, free: 10.24 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009478/0.7501, allocations: 89.03 kB / 0.6685 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04013/0.7903, allocations: 15.84 MB / 0.684 GB, free: 9.922 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007781/0.7911, allocations: 1.053 MB / 0.685 GB, free: 8.844 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004467/0.7916, allocations: 78.3 kB / 0.6851 GB, free: 8.766 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005103/0.7921, allocations: 399.3 kB / 0.6855 GB, free: 8.375 MB / 494.1 MB Notification: Performance of SimCode: time 1.242e-06/0.7921, allocations: 0 / 0.6855 GB, free: 8.375 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0748/0.8669, allocations: 35.4 MB / 0.7201 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.45, allocations: 18.03 kB / 0.7201 GB, free: 5.082 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe 2>&1)