Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.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.001692/0.001692, allocations: 105.5 kB / 16.45 MB, free: 6.453 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.426/1.426, allocations: 225.6 MB / 244.8 MB, free: 14.15 MB / 206.1 MB " [Timeout remaining time 178] 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.001468/0.001468, allocations: 193 kB / 299.8 MB, free: 9.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5337/0.5337, allocations: 99.67 MB / 454.4 MB, free: 5.055 MB / 318.1 MB " [Timeout remaining time 179] 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.SourcesWithRealInputs.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 83.86 kB / 0.6073 GB, free: 9.488 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1513, allocations: 76.94 MB / 0.6825 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant): time 0.007312/0.1586, allocations: 6.098 MB / 0.6884 GB, free: 6.254 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004136/0.1627, allocations: 1.79 MB / 0.6902 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000544/0.1633, allocations: 8 kB / 0.6902 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006199/0.1639, allocations: 230.1 kB / 0.6904 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.1652, allocations: 0.5979 MB / 0.691 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.1669, allocations: 0.766 MB / 0.6917 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.1684, allocations: 1.37 MB / 0.6931 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/0.1688, allocations: 203.3 kB / 0.6933 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005746/0.1693, allocations: 0.5446 MB / 0.6938 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007871/0.1701, allocations: 0.7078 MB / 0.6945 GB, free: 16 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.2854/0.4556, allocations: 105 kB / 0.6946 GB, free: 9.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006369/0.4562, allocations: 211.4 kB / 0.6948 GB, free: 9.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.4564, allocations: 285 kB / 0.6951 GB, free: 9.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005048/0.4569, allocations: 0.5938 MB / 0.6956 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.4583, allocations: 1.461 MB / 0.6971 GB, free: 9.355 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4583, allocations: 0.9375 kB / 0.6971 GB, free: 9.355 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4583, allocations: 1.188 kB / 0.6971 GB, free: 9.355 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.4583, allocations: 0 / 0.6971 GB, free: 9.355 MB / 494.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.007448/0.4658, allocations: 2.543 MB / 0.6996 GB, free: 8.496 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4658, allocations: 12.17 kB / 0.6996 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.466, allocations: 121.1 kB / 0.6997 GB, free: 8.457 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004051/0.47, allocations: 0.6797 MB / 0.7004 GB, free: 8.375 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.471, allocations: 0.7535 MB / 0.7011 GB, free: 8.012 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.4713, allocations: 344.6 kB / 0.7014 GB, free: 7.723 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.4714, allocations: 71.78 kB / 0.7015 GB, free: 7.723 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.4735, allocations: 1.115 MB / 0.7026 GB, free: 7.645 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.4735, allocations: 0 / 0.7026 GB, free: 7.645 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.909e-05/0.4736, allocations: 24.59 kB / 0.7026 GB, free: 7.645 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.4736, allocations: 21.34 kB / 0.7026 GB, free: 7.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.4758, allocations: 1.068 MB / 0.7037 GB, free: 7.625 MB / 494.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.005438/0.4812, allocations: 3.419 MB / 0.707 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01584/0.497, allocations: 3.864 MB / 0.7108 GB, free: 5.223 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/0.4988, allocations: 0.6734 MB / 0.7114 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.4989, allocations: 15.64 kB / 0.7114 GB, free: 4.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.4989, allocations: 47.36 kB / 0.7115 GB, free: 4.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 2.775e-06/0.4989, allocations: 0 / 0.7115 GB, free: 4.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.03584/0.5348, allocations: 8.678 MB / 0.72 GB, free: 2.094 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.5348, allocations: 91.08 kB / 0.7201 GB, free: 1.996 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.5359, allocations: 0.8489 MB / 0.7209 GB, free: 1.508 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001846/0.5361, allocations: 45.28 kB / 0.7209 GB, free: 1.461 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.5364, allocations: 453.8 kB / 0.7214 GB, free: 1.062 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.5366, allocations: 327.6 kB / 0.7217 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/0.5369, allocations: 149.5 kB / 0.7218 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.717e-05/0.537, allocations: 341.8 kB / 0.7221 GB, free: 372 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.5384, allocations: 0.6465 MB / 0.7228 GB, free: 48 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.54, allocations: 0.7864 MB / 0.7235 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003123/0.5431, allocations: 1.444 MB / 0.7249 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-06/0.5431, allocations: 1.219 kB / 0.7249 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01495/0.5581, allocations: 4.336 MB / 0.7292 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.5581, allocations: 5.656 kB / 0.7292 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.5581, allocations: 3.281 kB / 0.7292 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007263/0.5654, allocations: 2.141 MB / 0.7313 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/0.5661, allocations: 130.6 kB / 0.7314 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02773/0.5938, allocations: 10.82 MB / 0.742 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.5954, allocations: 163.3 kB / 0.7421 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.717e-05/0.5955, allocations: 40.88 kB / 0.7422 GB, free: 3.684 MB / 0.4981 GB 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.0004735/0.596, allocations: 230.1 kB / 0.7424 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.5962, allocations: 119.2 kB / 0.7425 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0148/0.611, allocations: 4.281 MB / 0.7467 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/0.6111, allocations: 8 kB / 0.7467 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.6111, allocations: 4 kB / 0.7467 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-05/0.6111, allocations: 3.984 kB / 0.7467 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/0.6279, allocations: 5.702 MB / 0.7523 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.6279, allocations: 3.938 kB / 0.7523 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.6283, allocations: 77.78 kB / 0.7523 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007117/0.6354, allocations: 2.039 MB / 0.7543 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/0.6356, allocations: 19.98 kB / 0.7544 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02493/0.6605, allocations: 9.618 MB / 0.7637 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6605, allocations: 4 kB / 0.7638 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01675/0.6773, allocations: 5.262 MB / 0.7689 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000493/0.6778, allocations: 204.2 kB / 0.7691 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.6779, allocations: 23.92 kB / 0.7691 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.6791, allocations: 103.9 kB / 0.7692 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007052/0.6798, allocations: 225.5 kB / 0.7694 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.318e-05/0.6798, allocations: 27.98 kB / 0.7694 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008023/0.6806, allocations: 0.5791 MB / 0.77 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6806, allocations: 0 / 0.77 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001215/0.6819, allocations: 423.8 kB / 0.7704 GB, free: 6.562 MB / 0.5294 GB 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.01727/0.6991, allocations: 5.846 MB / 0.7761 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007805/0.7069, allocations: 2.384 MB / 0.7785 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.7069, allocations: 3.938 kB / 0.7785 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005745/0.7127, allocations: 1.65 MB / 0.7801 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.7137, allocations: 95.38 kB / 0.7802 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04099/0.7547, allocations: 15.39 MB / 0.7952 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/0.7554, allocations: 1.057 MB / 0.7962 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000369/0.7558, allocations: 84.3 kB / 0.7963 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005334/0.7563, allocations: 399.3 kB / 0.7967 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.7563, allocations: 8 kB / 0.7967 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07689/0.8332, allocations: 36.17 MB / 0.832 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.06/16.9, allocations: 8.062 kB / 0.832 GB, free: 7.625 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesWithRealInputs_CurrentSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesWithRealInputs.CurrentSourceReImInputConstant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.312616251874715] Failed to read output from testmodel.py, exit status != 0: 17.009720418136567 17.035700903 16.572553886 Calling exit ...