Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004659/0.0004659, allocations: 0 / 0, free: 0 / 0 " [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.0004357/0.0004357, allocations: 0 / 0, free: 0 / 0 " [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.383/0.383, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 0.7195/0.7195, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.487e-06/3.487e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.294e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002928/0.002951, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001363/0.004314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.004349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.004371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 4.556e-05/0.004417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0007706/0.005188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 6.763e-05/0.005255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.294e-05/0.005278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 4.83e-05/0.005326, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 3.149e-05/0.005358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.005376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0006764/0.006053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.006072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.006103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.006467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.006479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 5.39e-06/0.006484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.754e-06/0.006492, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0009325/0.007424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.394e-05/0.007498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.419e-05/0.007592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 8.158e-05/0.007674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.007872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.007921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.007953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.00816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.00817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.008191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.008194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 5e-05/0.008244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006979/0.008942, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.009103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/0.00918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.009191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.009407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=5): time 3.92e-05/0.009446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=5): time 0.0004205/0.009867, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.009931, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.01005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.01008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.01014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.01017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.0103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003703/0.01067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 5.662e-05/0.01072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 9.129e-05/0.01081, allocations: 0 / 0, free: 0 / 0 Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.01119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.01119, allocations: 0 / 0, free: 0 / 0 Warning: The linear system: 1 : $PRE.$outputAlias_y = $outputAlias_y 2 : $outputAlias_y = $PRE.$outputAlias_y [ -1.0 , 1.0 ; 1.0 , -1.0 ] * [ $outputAlias_y ; $PRE.$outputAlias_y ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable $PRE.$outputAlias_y since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006114/0.0118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.01183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.01184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/0.01199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.01207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/0.01473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.837e-05/0.0148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.01482, allocations: 0 / 0, free: 0 / 0 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: y = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (curSeed,$PRE.curSeed,$whenCondition1,y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.01502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.01507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.0151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.0151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.0151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.01511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006216/0.01573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.01574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.01577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.01578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.0158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.0158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.0158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004843/0.01629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.01633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.01638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.01652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.01657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.01659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 7.797e-05/0.01666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.735e-06/0.01667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001348/0.01801, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001454/0.01947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0004923/0.01996, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.01997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 7.752e-05/0.02005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.02135, allocations: 0 / 0, free: 0 / 0 Warning: The linear system: 1 : $PRE.$outputAlias_y = $outputAlias_y 2 : $outputAlias_y = $PRE.$outputAlias_y [ 1.0 , -1.0 ; -1.0 , 1.0 ] * [ $PRE.$outputAlias_y ; $outputAlias_y ] = [ 0.0 ; 0.0 ] might be structurally or numerically singular for variable $outputAlias_y since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/0.02552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 9.727e-05/0.02562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 2.974e-05/0.02565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.02572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0005387/0.02625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.0004488/0.0267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.001336/0.02804, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.02426/0.0523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 6.672e-06/0.05231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 9.838e-06/0.05232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0 MB unzipped): time 0.0005248/0.05284, allocations: 0 / 0, free: 0 / 0 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 300] simulate(Buildings.Occupants.BaseClasses.Validation.Linear1D,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.0004 -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat",resimulateExecutable="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu") [Timeout 240] "" [Timeout remaining time 240] sim failed or timed out simulating it; the others still get to run it simulate(Buildings.Occupants.BaseClasses.Validation.Linear1D,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.0004 -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_me_res.mat -s fmi3:me:daskr",resimulateExecutable="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(Buildings.Occupants.BaseClasses.Validation.Linear1D,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D",simflags=" -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.0004 -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_cs_res.mat -s fmi3:cs",resimulateExecutable="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu") [Timeout 240] "" [Timeout remaining time 240] [Calling sys.exit(0), Time elapsed: 2.3215899420902133]